I have form fields that can be edited by Group A but only viewed by Group B. Is there a way to assign permissions to specific form fields?
| SitePoint Sponsor |
I have form fields that can be edited by Group A but only viewed by Group B. Is there a way to assign permissions to specific form fields?
Making a guess that u are having a password protected access just put an if else statement based on the user previlege, i.e put a check to verify the user level and bang...u have done it...
if this does not solve it then try putting a bit more info about the access system over here.....
hombre_de_las_cavernas
Don't ask what your Country can do for you,
Ask what you can do for your Country.
No password detection. Permissions are given to specific ip. Trying to further lock it down by having the form page recognize which group is accessing and thus displaying the proper fields.
You need to set some type of permission cookie/session. Then you can check their permission level before displaying the form field.
"Does this napkin smell like chloroform?"
...now with SnapFoo!
My Blog | My Twitter | My Company | SitePoint Podcast
*** Matt Mullenweg on the SitePoint Podcast ***
Bookmarks