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
BedrockMission!

Learn More

View all

Sign in to view all badges

Dropdown selection to make a subform visible

Avatar

18-02-2009

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?

Replies

Avatar

Avatar
Give Back 10
Level 2
MichaelDeiss
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 10
View profile

Avatar
Give Back 10
Level 2
MichaelDeiss
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 10
View profile
MichaelDeiss
Level 2

18-02-2009

Add the following javsscript code in the change event:



var selection = xfa.event.newText;



if(selection == "visible"){

subform.presence = "visible"

}

else {

subform.presence = "hidden"

}