Is this possible with Tables

islandgirl23

03-08-2019

Hello,

I have a table which consists of a drop down list.  Depending on my choice, I need another drop down list to appear until it is chosen and then my choice from that list be entered into the table. At first, I created the other drop down lists within the table and then tried to hide them but I cannot figure out how to hide drop down lists. Is there way to accomplish this?  I attached a snip of my table to help. The highlighted ones are the ones I want hidden unless it's chosen in the "Type" section.

1806133_pastedImage_0.png

Accepted Solutions (1)

Accepted Solutions (1)

_Bruce_Robertson

MVP

06-08-2019

Hi, the xfa.host.resetData() method will reset your values, you just need to generate a comma separated list to pass into the method.

So something like;

xfa.host.resetData([TextField1.somExpression, TextField2.somExpression].join())

Answers (2)

Answers (2)

islandgirl23

04-08-2019

Ok, I figured out a way to fix my issue but now I need to add a button which will reset the information within a specific table/record, not all tables/records recreated. I cannot locate any information or script that clears information within a specific record/table if you have multiple tables/records.