Hide dynamically a cell in table

Avatar

Avatar
Boost 1
Level 1
Christopher95
Level 1

Like

1 like

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Validate 1
View profile

Avatar
Boost 1
Level 1
Christopher95
Level 1

Like

1 like

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Validate 1
View profile
Christopher95
Level 1

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 (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back
Level 3
Kosta_Prokopiu
Level 3

Likes

15 likes

Total Posts

52 posts

Correct reply

9 solutions
Top badges earned
Give Back
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Give Back
Level 3
Kosta_Prokopiu
Level 3

Likes

15 likes

Total Posts

52 posts

Correct reply

9 solutions
Top badges earned
Give Back
Boost 5
Boost 3
Boost 10
Boost 1
View profile
Kosta_Prokopiu
Level 3

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

Answers (1)

Answers (1)

Avatar

Avatar
Boost 1
Level 1
Christopher95
Level 1

Like

1 like

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Validate 1
View profile

Avatar
Boost 1
Level 1
Christopher95
Level 1

Like

1 like

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Validate 1
View profile
Christopher95
Level 1

13-11-2020

Really nobody? 😟