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

    Make the quiz result to pop-up in a new window

    Asked by Marcus Vinicius on October 08, 2014 at 02:58 AM

    Hi Nicholas,

    First, thank you for answers.

    I followed your instructions and had success with my quiz.

    However, the response of quiz arises in the same flap are the questions. Is it possible this response open from a PopupWhat are changes necessary to do in this script (posted 15/Sep/2014) for fit this

  • Profile Image
    JotForm Support

    Answered by jonathan on October 08, 2014 at 07:35 AM

    Hi,

    The process for this had been described by our developer Nicholas from the original post here

    Here is the full excerpt of Nicholas's description

    1. Turn off the “Show the results after submission” option in the quiz application

    2: Turn on POST data so that the submission gets sent to this page.

     

    3. Create a new page on your website the same as your index.html page.  Call it result.php or something.  In the place where you have the form on your index page you will need an iframe:

    <iframe src="http://quizform.jotform.io/submission.php?formID=42524193360349&sid=<?php echo $_POST['submission_id'];?>" frameborder="0" style="width: 100%; height: 500px; border: none;"></iframe>

    4: Set up a thank you URL and point to this page.  Here is the guidelines on how to do so:

    https://www.jotform.com/help/89-Create-a-Custom-Thank-you-page-with-Auto-redirect

     

    --

    To simplify the instruction, the main requirement you need to have is to create a new web page where you will load the Quiz result as a pop-up page in new window.

    Can you please try creating first a new web page and put the result of the Quiz there. Share to us the URL of the website page where you have done this, and we will check further.

    Thanks. 

     

     

     

  • Profile Image

    Answered by Estanislao on October 09, 2014 at 10:26 PM

    Thank you Jonatan

    I created a form quiz, please check here: http://form.jotformz.com/form/42793949920671?

     It´s workink very well.

    Please  how I  pull up the result into html page like: (http://www.mywebsite.com/test_result.html ) ? 

    Thank you very much

     

  • Profile Image
    JotForm Support

    Answered by EltonCris on October 10, 2014 at 04:51 AM

    Hi,

    First, it should be PHP file not HTML. e.g. http://www.mywebsite.com/test_result.php so the php script will be executed.

    After enabling post data on your form, follow this guide to create your thank you page.

    1. Open a notepad file and paste the following code.

    <iframe src="//quizform.jotform.io/submission.php?formID=42524193360349&sid=<?php echo $_POST['submission_id'];?>" frameborder="0" style="width: 100%; height: 500px; border: none;"></iframe>

    Make sure to replace 42524193360349 with your correct form ID. Form ID is a long string of numbers at the end part of your form URL.

    2. Save it as a PHP file (with .php extension) e.g. test_result.php

    3. Upload the php file to your server and set it as your form's thank you URL.

    If you need further assistance or if you have difficulties following this guide, let us know. Thanks!

  • Profile Image

    Answered by Estanislao on October 10, 2014 at 05:40 AM

    Hi ,

    This steps was done, 

     

    I don't have any doubt, please  check here:http://form.jotformz.com/form/42793949920671?

     

    It´s working very well.

     

    However, the response of quiz arises in the same flap are the questions.

    Is it possible this response open from a Popup or from another page?

     

    I followed this sugestion, Answered by jonathan on October 08, 201, please see below.

     

    But I don't  know how I  pull up the result into html page like: (http://www.mywebsite.com/test_result.html ).

     

    I need just do that, do you know how?

    Thank you very much.

    Marcus

     

     

    -------------

    Answered by jonathan on October 08, 2014 at 07:49 AM

    Hi,

    I think this is very much possible.

    You can just embed the result of the quiz that is loaded in your webpage to the WPpage.

    You can use the iframe embed code like this

    <iframe src="http://www.mywebsite.com/test_result.html" frameborder="0" style="width: 100%; height: 500px; border: none;"></iframe>

     

    where the webpage (http://www.mywebsite.com/test_result.html) contains the result page

    <iframe src="//quizform.jotform.io/submission.php?formID=42524193360349&sid=<?php echo $_POST['submission_id'];?>" frameborder="0" style="width: 100%; height: 500px; border: none;"></iframe>

    Again the main requirement that you have to do first is to be able to create the website page where we can see the Quiz result loaded.

    Try accomplishing first the website where you have loaded the Quiz result, and we will move forward again from there.

    Thanks.

    http://www.jotform.com/answers/440077

    -----------

     

     

  • Profile Image
    JotForm Support

    Answered by jonathan on October 10, 2014 at 08:27 AM

    Hi Marcus,

    First, I apologize for the confusion. My instruction to you on this thread http://www.jotform.com/answers/440077 was for the method to used in the Wordpress page.

    That is why I initially suggested to use a blank html page where you are suppose to put the script for the Quiz result.

    But as my colleague had already clarified, if you only need the Quiz result to appear right after submitting the form (using custom URL Thank You page) then you need to use PHP instead since it will be the result of the POST page.

    So now that you have solve the first objective (show the Quiz result in your own custom website page), the next objective is to make the result page pop-up.. instead of opening on the same page/window.

    Can you share to us the URL of your website where we can test the jotform?

    Maybe we can discover further option if we can see the actual jotform in action on your website.

     

    Thanks.

     

     

  • Profile Image

    Answered by Estanislao on October 12, 2014 at 06:02 PM

    HI  jonathan

    Thank you.

    Please see the image. I hope that my question is clear, now

    the website is http://goo.gl/sa9ofV

    Thank you very much.

    Marcus

  • Profile Image
    JotForm Support

    Answered by jonathan on October 12, 2014 at 06:46 PM

    Hi Marcus,

    Thank you for providing us more details.

    We need some time to check on this to figure out a suitable resolution.

    We will get back to you quickly.

    Thanks.

  • Profile Image

    Answered by Estanislao on October 14, 2014 at 07:18 AM

    Thanks Jonathan.

    I'll await for your suggestion.

    Thank you very much.

     

  • Profile Image
    JotForm Support

    Answered by ashwin_d on October 14, 2014 at 09:54 AM

    Hi Marcus,

    Your message has reached my colleague. He will get back to you as soon as he is available online.

    Thank you!

  • Profile Image

    Answered by Estanislao on October 27, 2014 at 06:55 AM

    Hi  Jonathan,

    Can you  to figure out any resolution?

    Thank you very much.

    Marcus

  • Profile Image
    JotForm Support

    Answered by jonathan on October 27, 2014 at 08:00 AM

    Hi Marcus,

    Sorry for the delays. I will get back to you on this. 

    As it turned out, it was more complex than I initially anticipated. 

    I will surely look for solution. 

    Thank you for your understanding.