These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Eradic behavour regarding presence

past-tense
Registered: Jul 13 2010
Posts: 11
Answered

Hello all,

What I'm trying to accomplish is to have a multiline textbox appear if a certain radio button is selected. So, on ready:layout of the textbox, I set the presence to either "hidden" or "visible" based upon the radio button value.

The issue isn't about whether or not I can get it to appear... it's that the display behavour is very erratic. For example, if I manually set the presence to hidden in Designer first, when ran, the textbox is displayed on top of the radio buttons when I dynamically set the presence to visible. Additionally, When I mannualy set the presence to visible in Designer, when ran, the textbox acts as though it's presence is set to invisible when I dynamically set the presence to hidden (the whitespace is maintained).

I have ensured that all parent objects are set to flowed. I have no clue What I'm doing wrong. Is this just a bug?

I've included a url below to a sample .pdf file with the issue. Please let me know if you can see what I'm doing wrong.

Thanks for your help,

- Scott

URL: http://www.mediafire.com/?w4culcfmzi896x4

past-tense
Registered: Jul 13 2010
Posts: 11
For anyone who is interested, this looks like a rendering bug when it comes to multiline textboxes being dynamically hidden/shown. The fix is to include an 'xfa.layout.relayout();' after it is shown/hidden.

Best of luck to you all.

- Scott