Skip to Content
avatar image
Former Member

adobe table dynamic hide column in subsequent page problem

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 26, 2017 at 07:05 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • May 16, 2017 at 09:24 AM

    Faced, check below for work around,

    Working with multiple header row of table in adobe forms

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded