Jump to content

Recommended Posts

Hi All,

I have a PDF form online (created in Acrobat 9.0 Pro, NOT LiveCycle Designer!) that, once a user has filled it out and clicks the submit button, I want two things to happen:

 

1) I want the data from the form to be submitted to a custom PHP script, which I can do several different things with (store the data in a MySQL database, for example).

 

2) I would also like to upload/store/save (not sure of the proper vernacular) the filled out form (FDF file) to the web server.

 

Now what I need from you lovely people, either directly, or point me to where I can find the following:

 

1) How/What options do I choose for the Submit button in Acrobat 9.0 Pro when I create the PDF?

 

2) What/Where can I find a PHP code snippet to get the data from fields in the submitted form?

 

3) I know you can set up an Acrobat form to e-mail a copy of the FDF file to a specified e-mail address. Instead of emailing that FDF file, I want to store it directly to a folder on my web server. However, just setting the URL in the submit button to a folder on my web server doesn't seem to do the trick. So, I guess what I need is to somehow reference the FDF file with my custom PHP script... something like $_POST["fdffile"] ???? Please if anyone knows how to do this, please let me know! Because, if I can reference the FDF file, I can then use PHP's built in FTP functions to upload it to a specific folder on my web server.

 

Thanks for any input!!!

i think that when you click on a submit button in a pdf form the request is made within the client's browser and nothing is submitted to the server (where php would/could handle it), so you will need to create the logic inside your pdf form

 

is using a normal html form possible?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.