Good Morning,
I have been doing if/else if scripting scripting on a form and it was working pretty well. I then had a scenario where multiple fields had to appear or not and I set them up the same way as I had in other ones and they won't work. I get an error saying I've used "else" incorrectly I've tried with field names and with subforms. Any suggestions on what I can do to correct it? I've uploaded a file with two examples of what I'm trying to do, the first uses the subforms in the script and the second uses the fields.
Thanks!
https://acrobat.com/#d=-NCGILkZZ4OUkCEpBFO-qg
Solved! Go to Solution.
Views
Replies
Total Likes
You just need the } and { to emclose your if sections .....see my modifed version of your form att
ached.
Paul
Views
Replies
Total Likes
You just need the } and { to emclose your if sections .....see my modifed version of your form att
ached.
Paul
Views
Replies
Total Likes
Thanks! I do have one more question. Do I need the brackets on this particular script because there is so much more info? I didn't have to use it on any others and they worked fine, including one that had multiple fields?
Views
Replies
Total Likes
I just discovered one problem. If I select Yes and then select No because I changed my mind the options for Yes stay visibile. Ther reverse is also true. If I select Select One everything goes away like it should. Any thoughts on how to fix this?
Views
Replies
Total Likes
If the if section has more than one statement then yes you need them .....I always put them in ...it helps me to see the logic flow.
paul
Views
Replies
Total Likes
The logic in your form does not hide anything ...it simply shows things as required. If Yes and No do different things then you will have to
also add code to hide the parts that you do not want to show.
Paul
Thanks! Not it all works. I appreciate the help!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies