This topic is locked

Hide Text area

2/18/2011 1:31:49 PM
PHPRunner General questions
G
genom author

I create form with 4 fields
one field can see only admin
in function BeforeShowEdit i'm add:
$xt->assign("org_admin_comment_fieldblock", !(strpos(GetUserPermissions(), "M")===false) );
And field show only for admin, but I can't click «SUBMIT» if this Text area is hide, where not admin work with form - Submit not work!
if I change for this fiel in «Edit as» from <Text area> to <Text field> - all work normal.
WHY?

Sergey Kornilov admin 2/18/2011

Hard to tell what might be wrong without seeing your code. Post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.