Skip navigation
Currently Being Moderated

Auto fit text boxes to not save correctly

Apr 5, 2012 7:34 AM



I posted this in the wrong forum I think - so I am reposting this here.  Mods please on or the other if this a problem.


I have a form where I have a text box on a positioned page that is set up in the following way

- allow multiple lines - object>field options

- expand to fit - Layout options.

- I do have a height specified as a default.

- this.maxH - ""; - is scripted to shrink the box to the smallest size possible based on the text value.

- this is a dynamic form


It works as designed when test the PDF in reader or acrobat.  I have enabled user rights to save the document in acrobat.


The problem is that when I add some text to the textbox, save the document, then reopen it - it collapses the text to one line and shifts the position up.  I have wrapped this in subfrom and set it to flowed, but that made no chance.  I wonder if there is a conflict with the this.maxH script and auto height.


Any ideas - thanks in advance to any all help.

  • Currently Being Moderated
    Apr 5, 2012 8:17 AM   in reply to tas2121

    Have you got the script-based state changes on under Form Properties->Defaults->Scripting->Automatically? Otherwise do you have scripting on any initialise event which would interfere with the state of the save form?

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points