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

submitForm() with HTML using POST method

riccarrasquilla
Registered: Sep 24 2008
Posts: 27

is there a way to use submitForm () with HTML and the POST method?

My Product Information:
LiveCycle Designer, Windows
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
Are you using Acrobat or LiveCycle Designer to create your form?

George
riccarrasquilla
Registered: Sep 24 2008
Posts: 27
I'm liveCycle. i used a button with javascript on the onClick event. i can add the field.rawValue to the cURL, but I rather do it via POST method. can you explain how?
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
I don't use Designer much. I don't believe there is a JavaScript equivalent to the submitForm method of Acrobat. I think you have to use an "HTTP Submit Button" or use a regular button and set the Control Type to "Submit" and Submit Format to "URL Encoded Data (HTTP Post)", but you might get a better response in the LiveCycle Designer forum here (or elsewhere).

George
riccarrasquilla
Registered: Sep 24 2008
Posts: 27
Thanks for the help. I posted on the LiveCycle and Javascript boards