I am new to LiveCycle Designer and am trying to create an ordering document. On that document, I have a checkbox and a text box. I only want the text box to be visible if the checkbox is marked. I have tried several different statements, and nothing seems to work. I run the check on the statement and don't get any errors. Yet, when I preview the form, it doesn't work. The last statement I tried was in FormCalc and looked like this: if (Fire.rawValue == 1) then FireWording.presence = "visible" else FireWording.presence = "hidden" endif. I put this statement on the Exit, Click, and Change event, but none of them worked. Can anyone tell me how I can get this to work? Any assistance you can provide would be greatly appreciated.
Solved! Go to Solution.
Views
Replies
Total Likes
Did you save the form as a dynamic form?When you save out of Designer you must choose a type of Dynamic PDF.
Paul
Views
Replies
Total Likes
Did you save the form as a dynamic form?When you save out of Designer you must choose a type of Dynamic PDF.
Paul
Views
Replies
Total Likes
The form was not saved as a dynamic form. I changed that setting and re-saved the form. However, I
still cannot get the below script to work.
if
(this.rawValue == 1) then
FireWording.presence
= "visible"
else
FireWording.presence
= "hidden"
endif
Views
Replies
Total Likes
Code looks OK.. The issue could be related to referencing the name of the field.
Probably "FireWording" was not resolving to the correct field you want to be hidden or visible.
Thanks
Srini
Views
Replies
Total Likes
If you want to send your form to LiveCycle8@gmail.com I will have a look ....make sure to include a description of the issue with the email.
Paul
Views
Replies
Total Likes
Views
Likes
Replies