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

Linking 2 drops downs and having tables appear

Avatar

Avatar
Level 1
Melissa22
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
Melissa22
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
Melissa22
Level 1

27-11-2013

I need to link 2 drop downs together so that the second is dependant on the first. I also need to have a table appear when the second drop down option is selected. If they change their mind and select a different option in the 2nd drop down a different table needs to appear. Currently i have 2 drop downs that are linked so that the options in the 2nd will change but i cant link this for a table to appear? Im not great with Java or scripting.

View Entire Topic

Avatar

Avatar
Validate 10
Level 4
Bibhu_Bikash_Na
Level 4

Likes

37 likes

Total Posts

630 posts

Correct Reply

46 solutions
Top badges earned
Validate 10
Validate 1
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Validate 10
Level 4
Bibhu_Bikash_Na
Level 4

Likes

37 likes

Total Posts

630 posts

Correct Reply

46 solutions
Top badges earned
Validate 10
Validate 1
Give Back 10
Give Back 5
Give Back 3
View profile
Bibhu_Bikash_Na
Level 4

30-11-2013

Hi Melissa,

In the change event of 2nd DropDown you can put the following code.

var a = xfa.event.newText

if(a == 5) // Set the value that you want.

          {

                    Table2.presence = "hidden";

          }

else {

                    Table2.presence = "visible";

          }

Thanks,

Bibhu.