C
|
cgphp 10/27/2011 |
Create an alias for the dropdown field and set it as readonly. When the page is accessed by an administrator show the dropdown field and hide the readonly field, when the page is requested by an employee show the readonly field and hide the dropdown field. Check this article: http://xlinesoft.com/phprunner/docs/hide_controls_on_add_edit_pages.htm |
B
|
bussb 11/2/2011 |
Create an alias for the dropdown field and set it as readonly. When the page is accessed by an administrator show the dropdown field and hide the readonly field, when the page is requested by an employee show the readonly field and hide the dropdown field. Check this article: http://xlinesoft.com/phprunner/docs/hide_controls_on_add_edit_pages.htm
|
B
|
bussb 11/2/2011 |
Let me Clarify, Cristian's solution will work for not just one field, but multiple. However, if you have many fields you want to toggle visibility or access rights too, creating custom views is I believe faster. |