I use a simple script for submitting a form to my web hosting provider server:
I made it work fine after several trials and errors, but there seems to be a new challenge..
If a user hasn't yet integrated adobe reader with his web browser, then he will be prompted
to download the pdf. In this case though, the formail script, that my provider uses, won't authenticate and he
will end up with a downloaded form and an error when trying to submit it..
I am trying to figure out a safety valve for this problem. Maybe, a way to avoid pdf downloading, or at least displaying a warning if someone tries to download. Or even a check procedure that validates the pdf is located on the website before it tries to submit.
Of course the best solution would be to make it possible to submit even if the pdf is downloaded, but fatcow crew responded that their formail script is only designed for html usage and I should rewrite the form in html format!
Any ideas and/or suggestions are highly appreciated, thanks!
You could use Acrobat's SOAP engine to submit the data to a webservice, since that supports authentication, but that may not be in the format the their existing formmail script is expecting - you way have to write you own server-side webservice to process the data as well.
I did a little search in the JS API reference, but I couldn't come up with an easy solution involving SOAP engine.
Fortunately, I found a cool script that kept me out of trouble. Here to all that may concern: http://pdfobject.com/