Avatar

Level 10

Hi,

I would have expected the layout to flow when using the layout:ready event.

Are you setting the presence to "hidden" and not "invisible"?

You may need to force a relayout, by including this at the end of the

script: xfa.layout.relayout();

A better approach would be to use a Script Object and place the script there

in a function. Then you could call the function in the click event of each

of the checkboxes. There are plenty of examples of script objects and

functions. This is much better than duplicating the script in the click

event of ALL of the checkboxes.

Hope that helps,

Niall