7 Replies Latest reply on Jan 28, 2011 4:34 PM by maxwyss

    How to script vertical (middle) alignment of text

    pope7202

      Help! Is there a way to scipt the process described here:

       

      http://acrobatusers.com/blogs/pdftrainer/text-alignment-form-fields

       

      Basically I have several multi-line text fields and want to center it vertically automatically whether the entry is one line or multiple lines, once the entry has been made (without the user having to go through the menus as described in the article).

       

      I've tried this as a Mouse Up actoiin but it doesn't seem to have any effect (where Text1a is the name of the text field):

       

      Text1a.alignment = "middle";

       

      Thanks in advance.