Expand my Community achievements bar.

hide a page when a field expands

Avatar

Former Community Member

Hi,

I have a pdf form that has expandable field. When the field expands to the next page, I need to hide another page in the same form. How to achieve this? Any help/advise is much appreciated.

1 Reply

Avatar

Level 10

Hi,

You can use the xfa.layout.pageSpan(object) method to work out how many pages a form object spans.  The trick would be to work out when to use it, it wont have been updated yet in the exit event.  You could put it in the layout:ready event of the text field but you want to be careful using the event as it can be fired a lot.

Good luck.

Bruce