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

Programmatically submitting forms

tyhugh2
Registered: Nov 26 2007
Posts: 2

Does anyone know how to programmatically submit forms, and wire the "submit" event to a button object?

csommer
Registered: Jun 11 2006
Posts: 28
What you may be looking for is the "submitForm" method which gives you a huge option of parameters to pass, the most important including the url to submit to and the format (XML, PDF etc.). It is detailed in the scripting reference for Acrobat. You can use it in Designer provided that you refer to the Acroform doc object as "event.target" as opposed to "this", ie "event.target.submitForm({..parameters..})". You can put this script in the click or mouse up event of a button.