Expand my Community achievements bar.

Trouble hiding fields and subforms

Avatar

Former Community Member
Hello,



I'm trying to hide sections of my form so that when you first start off the only a radio button group is visible then once you select the radio button the appropriate subforms and fields are visible.



In the top most level i have the following under my initialize javascript code:



subform1.presence="hidden";

subform2.presence="hidden";

subform3.presence="hidden";

subform4.presence="hidden";

field1.presence="hidden";

field2.presence="hidden";

field3.presence="hidden";

field4.presence="hidden";

etc....



This worked however when I added a new field to the list, sections of the form became visible ie. subform3, field3, etc. How do i set these back to hidden if my script has the proper code and it's still displaying.



I am finding that many of my changes in Life Cycle are not applied or updated on the final pdf (using Designer 8).
0 Replies