Conditional clear pages in a form?

  • Profile Image
    Asked on November 11, 2012 at 08:36 PM

    Help please? - is for booking space in a facility. Before launching the form I realized that if the user fills out the first type of room request (on form page three), then decides to select the second type of room request, the information they incorrectly filled out for the first room request gets submitted along with the correct information - for the second room request - when they press the "Submit" button.

    Don't know how to build the "Conditions" to clear the data (for the pages of the wrong request selection - and not the whole form, if possible) if they change their selection? Thank you - Gene

  • Profile Image
    Answered on November 12, 2012 at 12:09 AM


    The possible solution for this might be hiding the entire conditional fields for example, when Recurring Use/Series is selected hide all limited fields and when Limited Duration Use/Series is selected hide all recurring fields. This would clear the previous data on the fields that was mistakenly filled but the problem here is that you have to do the hiding of fields 1 by 1. It's a bit painful but it might work. 
    Meanwhile, we'll figure out if there an eaiser solution but I can not be sure if there really is.
    Our apologies for the inconveniences and the delay in response by the way. 
  • Profile Image
    Answered on November 12, 2012 at 08:01 AM
    Thank you so much for the prompt reply! Clearly, this is a simple solution but it won't be easy! Serveral thoughts/questions:1. It would make sense to follow your method by setting up a limited number of "show/hide" fields for each of the two selection options.2. Enter data for first condition.3. Press the "back" button at the end of the form then select the second option.4. Enter data for the second condition through to submission5. Determine that the "fix" didn't allow incorrect information (from the first selection) through with the submisson.6. Build the remaining "show/hide" conditions.Also, does Jotform support this high number of conditions on a form - 300/400 or more?Again, many thanks for the excellent help!
  • Profile Image
    Answered on November 12, 2012 at 11:31 AM

    Hi there,

    In my experience such high number of conditions become difficult to troubleshoot and maintain.

    It is much easier and a time (head ache) saver to have multiple leaner forms.

    Here is an example of your form redirecting to two different URLs according to  the choice of the user.

    You can modify and add the conditions that you would like and if the user would like to go back to make a different choice, you can simply add a link (using Free Text HTML fields) to the first form on the two other forms.

    Let us know if you would like to work with this format.  We'll be glad to assist you!

  • Profile Image
    Answered on November 12, 2012 at 02:40 PM

    Hello again - Your recommendation looks like a great approach to simplify this issue! Conceptually, I understand what your proposing but I've not done anything like this before. So, could you please add the example form (in your reply) to "My Forms" so I can open it in the program and see how you set up the conditional 2nd and 3rd forms?

    Also, since I've done all the work building the form fields for each option I suspect I would just clone the original form - twice - then edit out everything but the required fields based on the selected option - 1 or 2? Thank you!

  • Profile Image
    Answered on November 12, 2012 at 02:58 PM

    Correct, that is what I did.  The only thing is that I have deleted the conditions on the forms.

    You can clone the forms that I used on the sample:

    1st form:

    2nd form:

    3rd form:

    You can edit them as you wish.

    Please let us know if you need further assistance!

  • Profile Image
    Answered on November 12, 2012 at 03:30 PM

    Hello again - When I click on the links you provided, in your last reply, for the 1st, 2nd and 3rd forms they only open the actual web forms the user would see. Sorry to say I don't know how to open these links in the Jotform program so I can see how the multiple form links have been built on the program side?

  • Profile Image
    Answered on November 12, 2012 at 03:36 PM

    Please follow the instructions on this guide:

    You can clone each of those forms and use them as your own.

    Give it a try and let us know if you need further assistance.


  • Profile Image
    Answered on November 12, 2012 at 03:38 PM

    If you have the new interace of Jotform, 

    Simply go to "My Forms", click on "Create a Form", choose the "Import Form", select the "From URL" option.  Paste the URL and you should have a copy of the form as your own.

    Let us know if that helps!

  • Profile Image
    Answered on November 12, 2012 at 04:38 PM


    Once you clone the three forms, You will need to change the URL to where the 1st form is pointing on the conditions.

    The URL will have the match the URL of your "2nd form clone" and "3rd form clone".