How to use prepopulating fields on my form?

  • Profile Image
    antonvalle
    Asked on April 12, 2016 at 02:02 PM

    Hmm, I can't seem to get this to work when I'm embedding the form. This works: https://form.jotformeu.com/60525206402342??kurssinNimi=Haloo%20media!%20Tehoa%20mediasuhteisiin%2012.4.2016%20klo%209-16

    But embedding this gives me an empty form: https://form.jotformeu.com/jsform/60525206402342??kurssinNimi=Haloo%20media!%20Tehoa%20mediasuhteisiin%2012.4.2016%20klo%209-16



    This is a re-post of a comment on Prepopulating Fields to Your JotForm via URL Parameters

  • Profile Image
    Nik_C
    Answered on April 12, 2016 at 03:06 PM

    I'm getting the same for those two links, just, for the second one, use this lin: https://form.jotformeu.com/jsform/60525206402342??kurssinNimi=Haloo%20media!%20Tehoa%20mediasuhteisiin%2012.4.2016%20klo%209-16 without bolded part: jsform.

    So this one: https://form.jotformeu.com/60525206402342??kurssinNimi=Haloo%20media!%20Tehoa%20mediasuhteisiin%2012.4.2016%20klo%209-16

    Please let us know if you have any further questions.

  • Profile Image
    antonvalle
    Answered on April 12, 2016 at 03:15 PM

    I'm using this form embedded in a wordpress site. Form is not displayed at all If I use this:

    <script type="text/javascript" src="https://form.jotformeu.com/60525206402342??kurssinNimi=Haloo%20media!%20Tehoa%20mediasuhteisiin%2012.4.2016%20klo%209-16">

    </script>

    But it will show (without pre-entered data) if I just use this:

    <script type="text/javascript" src="https://form.jotformeu.com/jsform/60525206402342??kurssinNimi=Haloo%20media!%20Tehoa%20mediasuhteisiin%2012.4.2016%20klo%209-16">

    </script>

  • Profile Image
    Nik_C
    Answered on April 12, 2016 at 03:28 PM

    Ok, understood now, sorry for a misunderstanding.

    Could you please try to embed your form using iFrame method?

    And your second page should be in PHP. Please check this guide below:

    http://www.jotform.com/help/51-How-to-Post-Submission-Data-to-Thank-You-Page

    On the second page, you would then read these POST variables with PHP, and generate your iframe code with those variables.

    You code would look something like this:

    <?php

    $name = $_POST['name']; 

    ?> 

    <iframe src="//www.jotform.com/form/1234?name=<? echo $name; ?>" height="300px" width="100%"></iframe>

    Get back to us if you need more help.

  • Profile Image
    antonvalle
    Answered on April 12, 2016 at 04:39 PM

    Ah, now it works. I used it like this:

    <iframe src="//www.jotform.com/form/61025235047345??valitseKurssi=Haloo media! Tehoa mediasuhteisiin 12.4.2016 klo 9-16" height="850px" width="100%" style="border:0"></iframe>

  • Profile Image
    Nik_C
    Answered on April 12, 2016 at 04:54 PM

    I'm glad you were able to solve the problem on your own.

    Please let us know if you need any further assistance.

  • Profile Image
    antonvalle
    Answered on April 12, 2016 at 04:57 PM

    I gotta say you've surprised me with your customer support. I had some other problems before also and I solved them in just about an hour or two due to your fast reaction at forums. Thanks a lot!

  • Profile Image
    EltonCris
    Answered on April 12, 2016 at 05:38 PM

    Thanks for your positive remarks towards us. We greatly appreciate it.

    Cheers! :)