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

    Prevent Form Refresh/Redirect

    Asked by Aptify on March 14, 2014 at 11:31 AM

    I created a form that I don't want to refresh or redirect. Basically, I have a form https://www.dropbox.com/s/v19zplk8co8wdmd/testform.html (you can download locally and run) that I changed a page break to a submit button to go to the next screen to show certain answers based of their responses. It shows the answers then refreshes the form. Can I prevent this? Is there a better way to display a set of answers based off the questions? If I didn't do it this way, I would need a combination of about 126 different thank you responses because there is a variety of a combination of answers.

    You will noticed I created a autosubmit form button on the next button with alittle script in the form :). 

    Please help when you get chance.

    Thanks!

    refresh dropbox next different
  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 14, 2014 at 02:42 PM

    Hello Aptify,

    First of all let me tell you that you have built an awesome form. Look and feel of your form is excellent.

    Coming back to your question, I am not sure if I understood it. I am not clear your requirement. Can you please explain us a little more on the steps / process flow of your form and also your requirement. 

    If you just need to show the results based on your user selection and as you are already using your form's source code, can't it be done by just adding some custom scripts? 

    We need a little bit more clarity. We will wait for your response.

    Thank you!

  • Profile Image

    Answered by Aptify on March 14, 2014 at 02:53 PM

    Thank you! 

    So the form is an assessment and based off your responses to the questions, you will recieve certain responses. For example, if you choose yes to 1 and no 2 etc. you will recieve a certain response. If you choose yes to 4 and no 5 etc. you will recieve another response. I am hiding the answers until after the form is submitted. Right now, choose 10-50 for question one and $1-$5m for the third question. You will see a submit button come up. That is actually a page break next page button. I set-up a script so it will auto submit and go to the next page when you hit that. When you it, you will go to the next page to see the answers based off the quesions you chose. If you don't choose 10-50 for the first quesion, you wouldn't see adapatability. I have more conditions to set-up but didn't do it until I get this resolved. 

    The form does submit with the script, but redirects after that to a URL. I want it to just stay on the next page so people can view their answers.

    Does that make sense?

    Thanks!

  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on March 14, 2014 at 05:27 PM

    It is not possible, to show the answers on the next page, after a page breaker

    However, it is possible, to post the answers in the Thank You page, and then use an edit link in an autoresponder to get back to the form and  have your users to review the answers and submit the form

  • Profile Image

    Answered by Aptify on March 14, 2014 at 05:35 PM

    The only issue with that is there is alot combinations I would have to create for thank you pages. I can't prevent the page from reloading or redirecting? Isn't there a script to prevent that and still submit?

  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on March 14, 2014 at 05:47 PM

    You could use XML in a webpage or any sort of script , but you must dowload the full source code of the form, then get dirty with some sort of programming to accomplish that

  • Profile Image

    Answered by Aptify on March 17, 2014 at 11:56 AM

    Ok sounds good. Thanks!

  • Profile Image

    Answered by Carina on March 17, 2014 at 01:02 PM

    Let us know if you can be of more assistance.