|
C
|
cgphp 2/4/2013 |
|
Check this man page: http://xlinesoft.com/phprunner/docs/makereadonly.htm |
|
|
R
|
rustler45 author 2/5/2013 |
|
I read the section on makeReadonly and have used it on other fields, but after re-reading the section I still dont know how to make the field readonly and set the value of the dropdown at the same time. I cant set it as readonly in the visual editor because it needs to be editable for the admin user. |
|
|
C
|
cgphp 2/5/2013 |
|
If "Submitted" is the option value of the dropdown, use this code: if (group != '1')
if (group != '1') |
|
|
R
|
rustler45 author 2/5/2013 |
|
Cristian, that worked great. thanks! |
|