Hi,
I've got an issue with a form.
I've got a drop down menu.
When users choose "A", some fields are hidden others readonly
When users choose "B" all field sare visible but readonly.
I'd like to add a field password which allowed authorised people to change all form's fields.
Thanks a lot
Nath
Solved! Go to Solution.
Views
Replies
Total Likes
In your password field you will need to put something like (in Formcalc):
If ($ == "whateveryourpasswordis") then
otherfield1.access = "open"
otherfield2.access = "open" //etc that will make them user enabled
endif
Views
Replies
Total Likes
In your password field you will need to put something like (in Formcalc):
If ($ == "whateveryourpasswordis") then
otherfield1.access = "open"
otherfield2.access = "open" //etc that will make them user enabled
endif
Views
Replies
Total Likes
You can add this command before the test in whyisthisme's post. It will put up a dialog and allow the user to enter the password beofr ewyou check it. The true value indicates that this is a password field and * chars will be used on the display. You woudl then test the var myPswd in the if statement.
var myPswd = app.response("Enter your password", "This is a title", "Dafault Value", true, "Label before input:")
Paul
thx
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies