REG: Hiding Objects in adobe forms
I am working on interactive forms. I have some queries which are as following:
- I am designing an adobe template with a subform to be diplayed when required else not. I tried the visibility option but it seems it has to be done using Scripts.
- In the scripts editor, I am using a script to make a particular sub form invisible:
-This is giving me error like:
accessor-unkown if I keep it at datasource and run it at the initialize.
-If I keep the code at the particular subform and run it at initialize, it gives me an error like:
Invalid enumerated value: hide
I am unable to understand where to keep my code or whether I need to do some modifications in the script?
-I am using FormCalc.
Also, Is it possible to have a attribute of type integer and call it in the script to check if it is 0, I need to display the subform else not.
I hope I am clear with my queries. Helpful answers will be appreciated.
Thanks in advance,