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

    How to place submitted data by a Jotform directly to web page

    Asked by dgkg on January 17, 2014 at 03:28 AM

    I search for this answer but could not find it.

    Hope you don't mind asking this question.
    First, I would like to say I enjoi Jotform, best so far I've found. Now my question, when a user submits a form, data is send to designated email adres, but is it possible to place this data directly into a php based webpage?

    The reason is that the form we have contains data that will be displayed on our site, now we need to manually place this in a webpage which is labor intensive.

    Probally this is possible, but how is it done, do I need to have a MySql dbase?

    As an option: is it also possible to automaticly generate a php page based on a template we have?
    The reason I ask this is because we have a cooking site, users may submit there own recipies, that's the reason I ask the auto page generation.

    Thank you for your attention, and answer(s)

    Sincerely
    G. Diepeveen
    Souschef on www.degrieksekookgek.nl

    Page URL:
    http://degrieksekookgek.nl/versie2/recept-formulier.php

    JotForm submitted data email style size template
  • Profile Image
    JotForm Support

    Answered by ashwin_d on January 17, 2014 at 06:41 AM

    Hello dgkg,

    I am not sure if I have understood your requirement correctly. Do you want to display the submission data in your web page?

    Though there is no in built feature to do this but it is possible to achieve your requirement. You should create a submission report of your form and then embed this report in your web page. Here are the steps:

    1. Click on "My Forms" from the top menu.

    2. Select the form for which you want to generate report and then click on "Report" button:

    3. Select the appropriate report type: (HTML table listing report should also work)

    4. Select the columns you want to display in report:

    5. Copy the embed code:

    6. Use this embed code to embed the report in your web page.

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by dgkg on January 17, 2014 at 06:53 AM

    This is a step in the right direction. Let me explain, We have a guestbook, when a user submits the form I want to display this guestbook dat on the page as well as every new submission i such a way I can style the fields also.

    The report is not the way I want to display the data.

    Also is there a possibility that after lets say 10 entries in the guestbook a following page is created?

    I know I may be asking a lot ;) but I hope you have the answers.

  • Profile Image

    Answered by dgkg on January 17, 2014 at 07:06 AM

    Something like this: http://www.jotform.me/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page

    I can't however figure out what I should use:

    Send to a form, or page, and I can't figure out the vars.
    For example inmy form (Dutch) I see this: volledigeNaam14[last] (see yellow mark), but what should the red one be? If I get these vars right I can setup a form of my own, or can I use one from Jotforms?

    Send Data to another JotForm form:
    <?php
    $answers = $_POST;
    $url1 = "http://jotformpro.com/form/23503595638965"; // This is the URL address of the Form
    $var1 = "?fullName3[first]=".urlencode($answers[fullname3][0]);
    $var2 = "&fullName3[last]=".urlencode($answers[fullname3][1]);
    $var3 = "&email4=".urlencode($answers[email4]);
    $var4 = "&comments=".urldecode($answers[comments]);
    $url2 = $url1.$var1.$var2.$var3.$var4;
    header("location:$url2");
    ?>
    You can also take this source code here: http://pastiebin.com/52646417a1a14
    Send Data to another web page:
    <?php
    $answers = $_POST;
    $url1 = "http://www.mysite.com/custompage.html"; // This is the URL address of the custom web page
    $var1 = "?fullName3[first]=".urlencode($answers[fullname3][0]);
    $var2 = "&fullName3[last]=".urlencode($answers[fullname3][1]);
    $var3 = "&email4=".urlencode($answers[email4]);
    $var4 = "&comments=".urldecode($answers[comments]);
    $url2 = $url1.$var1.$var2.$var3.$var4;
    header("location:$url2");
    ?>

  • Profile Image
    JotForm Support

    Answered by ashwin_d on January 17, 2014 at 07:17 AM

    Hello dgkg,

    The above code will only send the current submission data to your thank you page.

    Saving the form submission data in your own database and then displaying it your page is surely an option, lets say ideal option but it will requires in-depth programming knowledge.

    There is one better option for your requirement:

    You can create a "RSS Listing" report (by following steps mentions in above answer) and then there are a lot of free codes/tools to read the rss feed and customize the data as per your need. The best one I found to be is "Magpie". This requires custom files to be uploaded in your webserver.

    Hope this helps.

    Thank you!