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

    Form collapse conditions work only for first time

    Asked by betameu on November 23, 2013 at 05:04 PM

    Hi team,

    I'm wondering if you could help me.

    I have set up collapse conditions based on a singel conditional entry on two pages. It works fine for the first time but once I go back to select different options the previous form stays visible on the second page. After refresh it works fine again.

    here is a form: http://form.jotformeu.com/form/33265818966367

    to reproduce the issue you need to choose one of the options in the FIRST PREFERENCE drop down list (e.g. '1'), click NEXT, it should come up with the SECOND PREFERENCE - NO 1, choose one of the options (e.g. '3'), click BACK, choose BLANK (or any other) option in the FIRST PREFERENCE, click NEXT and you will see that Form Collapse, which should be hidden on default, will be staying there.

    please let me know if you need more info.

    thank you,

    Dave

    style hidden next different
  • Profile Image

    Answered by Cesar on November 23, 2013 at 10:39 PM

    Hello, I have performed a variation (Clone) of your current form. Kindly take a look at it and let us know if this is the behavior you would like the form to have. 

    So far I see you have 2 pages from which you want to be able to append a series of motivation letters. And on the second page of the form you would like to start from the second motivational letter onwards, and if on the first page, the user has 5 motivational letters, you would then like to have the second page unable to add further motivational letters. is this correct? If not, kindly elaborate further so that we may understand a bit better what you are trying to achieve. Thank you.

    Example Form: http://support.jotform.com/form/33268265478970

  • Profile Image

    Answered by betameu on November 24, 2013 at 08:53 AM

    Hi, thanks for your reply,

    I'm affriad it's not what I want to achieve.

    The idea is that the user could make first preference and second preference. I divided this to 2 pages. The user selects first preference in the first page, it comes up with the corresponding form for the mottivation letter. Selects second preference on the second page from the options that are left (i.e. if he selected "a" for the First pref, there should not be option "a" for the second pref)

    Conditions I ade up is following:

    on the first page user can select 5 options, each option corresponds to 2 hidden/collapsed forms - one of them should come up on the same page, the second one - on the second page.

    example: if the user chooses "a" in a "First Preference" it should come up with the "motivation letter for a" on the first page and dropdown list "no a" on the second page under the "Second preference". The same for the rest, i.e. "b" in a "First Preference" results with the "motivation letter for b" on the first page and dropdown list "no b" on the second page.

    if there's no options selected on the first page nothing comes up on the second page.

    The second condition applies to the second page only and depends on the selection made in the first page. So, if there's "a" selected on the first page, second page comes up with the dropdown list "no a" where there are following options: "b,c & d". user chooses one of them and corresponding form come up.

     

    The issue is following: once user has chosen 'some' option in the first page, he then goes to the 2nd page where there's already one of the dropdown lists according to the selection made on the first page. He then chooses one of the options here and corresponding form comes up - so far everything works fine but if the user clicks on BACK button, to make a change in the selection and clicks on the NEXT to go back to the second page - the previous selection will STILL APPEAR even though there's nothing selected on the second page.

     

  • Profile Image
    JotForm Support

    Answered by jonathan on November 24, 2013 at 10:06 AM

    Hi,

    Can you please clarify if this is the issue you are describing

     

    when going back to 1st page, editing the selection, and click next button, the old value in the 2nd page is not cleared.

     

    You can describe to us also much better if you can include images(screenshot).

    You can use this guide How-to-upload-and-add-screenshots-to-support-forum

     

    Thanks.

  • Profile Image

    Answered by betameu on November 24, 2013 at 11:55 AM

    right, screenshots will be useful here.

     

    So, we've both pages empty in the beggining (just 'First preference' on the 1st page). 

    user selects some options in the first page (e.g.: "a"):

    The 2nd page comes up with the dropped down list called "no a" as per the conditions shown below (if there would be selected "b" then the 2nd page would come up with "no b" and etc):

     

     

    you choose something here (e.g. "b") and it comes up with the corresponding form called "b"

    here are the conditions for this:

    Now, if you press the BACK button to go back on the first page where you still have selected "a" and change the selection to BLANK and click NEXT you will reproduce the problem I have now

    you will see the below on the second page:

    i.e. form called "b" will remain on the page even though there's nothing selected on the 1st page. Normally, I believe it should come up exactly in the same way as in the beggining - the first screenshoot.

     

    thanks for your help

    let me know if you need more info

    http://form.jotformeu.com/form/33265818966367

  • Profile Image
    JotForm Support

    Answered by jonathan on November 24, 2013 at 03:34 PM

    Hi,

    Thank you for providing us the requested details.

    I would like to tell you that using the Back/Next button will NOT clear/reset a filled-in field/question in the form. To better have a beter undersanding of what I meant, you can try adding a Clear submit button and you will see how it clears and reset answers on the form.

    Actually, from what I can see in your TEST form, I think you have made the conditions on this form a lot more complex than it should be.  There are too more than uncecessary closer collapse and dropdown fields
    I suggest a review and re-design of the form and its conditions.
    I will also create a version that have a simplified design and condition. I will get back to you when I have it.
    Thanks.
  • Profile Image

    Answered by betameu on November 24, 2013 at 04:49 PM

    thank you,

    I'll be waiting for your responce