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

Hide dynamically a cell in table

Avatar

Avatar
Validate 1
Level 1
Christopher95
Level 1

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Christopher95
Level 1

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
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 (0)

Answers (2)

Answers (2)

Avatar

Avatar
Give Back
Level 2
Kosta_Prokopiu
Level 2

Likes

13 likes

Total Posts

51 posts

Correct Reply

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

Avatar
Give Back
Level 2
Kosta_Prokopiu
Level 2

Likes

13 likes

Total Posts

51 posts

Correct Reply

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

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
Validate 1
Level 1
Christopher95
Level 1

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Christopher95
Level 1

Likes

0 likes

Total Posts

17 posts

Correct Reply

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

13-11-2020

Really nobody? 😟