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

Help needed to auto submit PDF button

saravanan.p
Registered: Jul 5 2011
Posts: 4

Hi,
 
I am having PDF form with list of text box and buttons.And i want to click the button from the some other application.Because after clicking on the button, the value will auto populate.
 
Please provide your suggestion and comemnts.
 
thanks..

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You'll need to be more clear in your explanation.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

saravanan.p
Registered: Jul 5 2011
Posts: 4
thomp wrote:
You'll need to be more clear in your explanation.
Hi,

thank you for your reply.Currently we are generating list forms via acrobat life cycle.Each form contains submit buttons.so currently open the each file separately and clicking the submit button.And it will take more time.for overcome this we need to be done automation.Please give idea for how to pass argument to the button in command line argument or some other way to click the button.


-Thanks

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Ok, that helps some. You have a set of LiveCycle forms that contain common data elements, such as Name, address, etc.? And you would like the user to be able to pre-populate fields on these forms that they have already filled out?

This is a very big topic and there are many solutions. The solution that is appropriate for your situation depends on how the form is accessed and filled out by the users. Is this form downloaded from a server? Do the users fill it out in a browser window. Or are these forms handled locally on and in house computer?

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

saravanan.p
Registered: Jul 5 2011
Posts: 4
Hi,
I have list of generated Pdf form from smart form technology.And i will open the each document and click submit button.I will implement automation,auto open one by one using some other technology.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
One easy way to load data into a form is to import the data from an FDF or XML file. The approach can only be used if the common fields in the forms share the same name. The data file can be imported from a local source using a privileged script. A script in an action would fit this requirement.

If the data is remote, i.e., on a server, then it can be loaded using a regular form submit. If this is the case then a solution is more complicated. You'll need to write a server script to build the return data file.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

saravanan.p
Registered: Jul 5 2011
Posts: 4
HiThom,

I am newer to acrobat life cycle.Please help us using javascript h,how can you trigger a buttton?I will implement same logic from triggering javascript button from some other application.

Please help us ..Many Thank you for your help !!!
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The LiveCycle scripting model has a function named "execEvent" that can be used to force an event on any control. However, your asking very complex questions without providing the necessary context. You need to explain more and ask less. You should also download the LiveCycle (XFA) form documentation and read the articles about scripting on this site. You'll also find comprehensive set of LiveCycle scripting videos at www.pdfscripting.com

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script