Forums

Making fields editable only by particular users

irti 29 Mar, 2010
Hi
I wanted to know if there was any way to make a field editable only by a particular user. For example a person signs in and fills out a form...Chronoconnectivity makes the form editable in the front end..Another user with the proper rights fills out the other fields in the same form..
Basically i am using chronoforms for an intranet..So if an employee fills out a form i want to be able to assign a work order to it. So the work order field would be for me to edit..
is there any way on getting this done???
GreyHead 29 Mar, 2010
Hi irti,

Yes, check the current user id and only show the input field if the user is an Admin (or e.g. $user->id = 99). You just need to add the PHP to the Form HTML.

Bob
This topic is locked and no more replies can be posted.