Skip navigation
Currently Being Moderated

Auto fit text boxes do not save correctly....

Apr 5, 2012 5:29 AM



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 11:10 PM   in reply to tas2121

    Kindly share following details to exactly trace problem:


    1: At what event you have written the script ?

    2: Is there any condition before the script this.maxH - "" ?


    Probably problem is your script, if there is no condition and it is called at form reopening.




    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