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

Reposition a Form Field using Javascript

TheMonk
Registered: Apr 25 2008
Posts: 2

I am using the Javascript "getField(...).value=..." to fill PDF Form Field values properly. I want to know how to reposition those same Form Fields up, down, left, right using Javascript. I tried using the "...style.left=..." JavaScript to accomplish this but have had no positive results. The script is just ignored.

Is there a way to move a Form Field or reposition on the X, Y axis?

Thanks in advance.

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Have you looked at [url]http=http://www.acrobatusers.com/tutorials/2007/10/auto_placement_annotations/]Automating placement of annotations Converting coordinates in Acrobat[/url] by Thom Parker. This works in AcroForms (Acrobat forms) with form fields, but it has been documented by Adobe not work with LiveCycle Designer. There is a note that one might be able to use dynamic forms and not static forms in LiveCycle Designer.

George Kaiser