cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

adobe table dynamic hide column in subsequent page problem

Former Member
0 Likes
3,695

hello,

In an attempt to dynamically hide a column in a table that uses a table controller, I have encountered a problem.

Because I can not add JS code for a text, I have changed the field of the header to the text field that comes from interface and then I can also write code for it.

Everything works well for the first page,

the problem arises when the table have many line and get to the second page, where suddenly there is a space where the first column was.

I tried to do what they mentioned here to add JS in header (In the 5th common)

but the results were not better.

It looks like the code does not work as well for page 2 and beyond.

Does anyone have a solution?
I know it can be solved using subforms but I do not want this solution.

Thank you
Matan Liebrman

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member400468
Active Participant

Hi!

It seems like you point not correct count of columns (6 in the script and you have only 5 fields), please check it

Evgeny

Former Member
0 Likes

hi Evgeny!

Thank for your fast replay,

You right, I fix this mistake but without success.

Any More suggestions?

former_member400468
Active Participant
0 Likes

Noticed one more thing: you should move your scripts for hiding fields into form:ready event, I think the issue was with wrong time of calling the script - form is not built yet on the initialization. You can refer the link you provided and check properly events where the scripts are called

prajeshdesai
Contributor
0 Likes

Faced, check below for work around,

Working with multiple header row of table in adobe forms

Hope this helps.