Link to home
Start Free TrialLog in
Avatar of Isaac
IsaacFlag for United States of America

asked on

Disabling a field based on user

Hi,

I have created an infoPath form and after it is filled out by the user and submitted into a sharepoint list, I would like a field to be disabled.

Here is an example of what I am trying to do,

Form fields
Teacher (People or group field)
Phone
Comment

Once the form is filled out, the Comment field should be disabled for all users except if the current user is the "Teacher" whose name was entered in that field.

So, if the current user opens the form and his name is not in the Teacher field, it should be disabled.
If his name is in the Teacher field, it should not be disabled.

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of Jamie McAllister
Jamie McAllister
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Isaac

ASKER

That worked! Thanks!