Hide dynamically a cell in table

Avatar

Avatar

Christopher95

Avatar

Christopher95

Christopher95

12-11-2020

Dear friends,

 

in a cell of a table i have a subform which allows to display a table of texts, but sometimes there are no texts to display so i would like to hide this subform object.

 

I know I have to do this in Javascript but being a newbie to LiveCycle I must have had it hard and therefore need your help.

 

Currently i have the following result:

 

Result_1.jpg

 

 

 

 

 

 

 

 

Now what would be good is not to display the cell which has no text, i.e. whose Texts [] table is empty, so the lines SERVICE 2, SERVICE 3, SERVICE 4 would be condensed on a single line:

 

Result_2.jpg

 

Attached my form file with the XML file HERE.

 

Thank a lot for your help. 😉

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

Kosta_Prokopiu

Avatar

Kosta_Prokopiu

Kosta_Prokopiu

13-11-2020

Here is a sample that should do what you want, you can open it in Designer - please analyze and adapt your table accordingly.

https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:fb3da613-dfb9-46ff-ad58-5eb5473fdee9

Avatar

Avatar

Christopher95

Avatar

Christopher95

Christopher95

13-11-2020

Really nobody? 😟