Hi everyone,
I am creating some in-depth forms using Acrobat Pro for Mac and I am finding this process very tedious and fear I am just mis-using the tools at my disposal.
I'm creating a form that as you select certain parameters it opens (unhides) fields and vice versa.
Currently I am showing and hiding fields by creating actions (on mousedown) when certain parameters are selected. This becomes very tedious when you want to show and hide many fields, dropdowns, because you need to select each field, title, or dropdown menu individually.
Is there a better way to achieve this, perhaps creating all the fields and grouping them, then showing and hiding the group instead of individual fields?!
Any help would be greatly appreciated!
Thanks,
Dev
If you use a hierarchical naming scheme, it becomes easier to show/hide groups of fields by using JavaScript. For example, suppose you have 100 text fields named "T1.0", "T1.1", ... "T1.99". You can then control all at once with something like the following JavaScript:
// Hide all of the T1 fields
getField("T1").display = display.hidden;