Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Dropdown selection to make a subform visible


Not applicable
Hi I am trying to work out how to make a subform visible/invisible dependant on the selection made in a previous dropdown box. Any ideas?
1 Reply


Level 2
Add the following javsscript code in the change event:

var selection = xfa.event.newText;

if(selection == "visible"){

subform.presence = "visible"


else {

subform.presence = "hidden"