Page 1 of 1

Trying to process form data

Posted: Wed Jul 18, 2007 11:03 am
by doctaval
I am new to php. I barely know any code and try to work from examples.

I have a form in a pdf file and I am trying to submit the form data to formmail.php which is hosted on my server. Adobe Acrobat submits the form data encoded as HTML. However, formmail complains that there is no action defined in the submission process. To get around this, i thought it would be a good idea to through one php file and use something like cHTTP to send it to the formmail.php.

Is this feasible? Would anyone have any advice on how to do this?

Thanks for any help.

Posted: Wed Jul 18, 2007 11:21 am
by volka
doctaval wrote:However, formmail complains that there is no action defined in the submission process.
What is the exact error message?
If you take look at formmailer.php can you identify the code block that is causing the message? Please post that code.

Posted: Wed Jul 18, 2007 11:45 am
by doctaval
This error comes up when i submit through adobe acrobat.

Code: Select all

Error=The form has an internal error - no action or recipients were specified
It is to be expected because it doesnt let you define an action or recipient. I was thinking to get around to submit it to another php that would process and submit that form data to formmail. I saw that cHTTP can add fields and action method so I thought I was going down the right path, but I'm not too sure how to impliment it into the whole setup.

Posted: Wed Jul 18, 2007 10:17 pm
by volka
You could adjust formmailer.php to assume default values. That's what your "new" script would do anyway.