Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Different fields should be enabled for different users

Avatar

Former Community Member
i have two sections of fields on one pdf form. I just want section one fields should be enabled for user1 and section2 fields should be enabled for user2.............
6 Replies

Avatar

Level 10
Your best bet is to have those section show/based on a data element in the form. If you don't have one, then add a hidden field.



Then form the process side, use a set the value of the hidden field between the two user step.



Jasmin

Avatar

Former Community Member
thanks for reply

i understood your first sentence but not second.



how the fields should make visible when form reach at the second user.........

Avatar

Level 10
Sorry,

When I re-read my self the sentence doesn't make a lot of sense!



What I wanted to say was that between user1 and user2, you might have to set that hidden field to a specific value so that your script triggers when it reaches user2.



Jasmin

Avatar

Former Community Member
hi jasmin

can you tell me how it canbe done?

Avatar

Level 10
Or here's another way. When the form is opened by user1, set a hidden field to true.



The next time the form is opened (user2) have your script check the hidden field. If it's true then hide the section.



Jasmin