What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

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

    Asked by nplescher 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
    JotForm Support

    Answered by mliz 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

    Answered by nplescher 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

    Answered by nplescher on August 07, 2012 at 01:42 PM

    or

    fputs()

  • Profile Image

    Answered by jeanettebmz 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