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

    Is it possible to apply a condition to a "Next" button?

    Asked by pthimsen on February 13, 2015 at 01:26 PM

    I have a page in my form where I need to direct the "next" button in the page break to advance to a previous page in the form. Specifically the next at the end of page 22 or beginning of 23 needs to advance back to page 18. Is there a way to do this?

    Your help is appreciated.

     

    Page URL:
    http://form.jotform.us/form/50395015285151

    next previous page next button CSS CSS page break page break style conditions page conditions
  • Profile Image

    Answered by Sean on February 13, 2015 at 03:28 PM

    If I am not mistaken, you would like your next button to jump to a different page in your form. As mentioned in your initial post, the jump would to be from page 22/23 to page 18. Yes this is possible with the use of our "Skip to a page or end of the form" conditional logic.

    Here is a test form with the above mentioned method used.
    http://form.jotformpro.com/form/50436391481960





    If you are going to use this method, the condition placed in this conditional logic statement should determine which page your user is being redirected to. In my test form above, once a character has been entered into the Tester text box, the user would be directed to Page 1 instead of moving forward to the following page 3. I hope this answers your question. Do contact us if further assistance is needed.


    Cheers!

  • Profile Image

    Answered by pthimsen on February 16, 2015 at 04:52 PM

    I have enlisted the "conditions" options frequently in my form, Rainmaker Campaign Wizard, and am fairly familiar with how it works. However, when I tried this with the page break "Next" I found it was NOT an option in the "If" drop down list of fields. In fact none of the page breaks were listed as a possibility for setting a condition. In the meantime, I created a duplicate of the page I needed to advance to and have placed it next on the form.

    Since I did not want to reconfigure all of the "page" related conditions, I decided I will keep the original page in the form as a dead page that nothing will be directed to - 

     

  • Profile Image

    Answered by Ben on February 16, 2015 at 05:59 PM

    Please note that you can not make a selection such as:

    IF page break THEN

    but you can make an if statement on some of the fields on some page to see if people should go to that page or go from it.

    The way it works is that:

    * once certain fields are set,
    * no matter what page you are,
    * you will be redirected to the page of your choice.

    This means that you can go to page 6 from page 1 or you can simply skip a page.

    If you are not sure how to set it up and would like us to help with that, we can take a look and do it for you, just let us know what is the reason - which fields would make the page 22 redirect to page 18 instead of page 23 so that we can know which fields would need to have the logic applied on them.