Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Linking 2 drops downs and having tables appear

Avatar

Level 1

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.

1 Reply

Avatar

Level 9

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.