I would like to have a PHP page between my form and the Jotform processor

  • Profile Image
    nplescher
    Asked on August 07, 2012 at 08:55 AM

    Hello!

    So, I would like the form post command to happen on a PHP page AFTER the user hits submit so I can do some processing on the server side prior to sending to your servers (to retrieve some additional values).  Any ideas?

  • Profile Image
    mliz
    Answered on August 07, 2012 at 10:12 AM

    In order to use your own server side script you will need to change the action script of the form however once you do this the submissions will not be saved on JotForm servers and no notification emails are sent. In addition sending/saving data to JotForm servers using your own script is not possible due to technical limitation. You may want to use the Send Post Data feature instead, this allows you to save data on your own server at the same time data is also saved in JotForm servers.

    Below is an article from our user guide for more information on how it works:

    How to Insert or update form submissions to your MySQL database using PHP

    Hope this information helps, let us know if you have further questions.

    Thanks!

  • Profile Image
    nplescher
    Answered on August 07, 2012 at 01:41 PM

    Couldn't I just use CURL to post the form data to the Jotform processor?

  • Profile Image
    nplescher
    Answered on August 07, 2012 at 01:42 PM

    or

    fputs()

  • Profile Image
    jeanettebmz
    Answered on August 07, 2012 at 04:32 PM

    fputs() is an alias of fwrite()  , this function will write a file in an secure binary mode. and I am not sure but I think  the validations made in your form might be lost in the process, same thing with cURL which is most likely used to handle http sessions

    Give it a try using the functions provided on  that example and let us know if you still need help.

    Jeanette