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

    How I can I clear the fields in a page when the user changes their selection on previous the field?

    Asked by switchboardllcnow on December 08, 2016 at 11:25 AM

    Hi,

    My overall question is: Is there a way to disable a page's fields/answers from appearing in the final submission report if a user fills out page, then goes back and selects a different option that should skip that page entirely (thus voiding their entries)?

    Real life example: https://www.jotform.com//?formID=63415366618965

    On page 7 ("Do Multiple People Own Your Business?"), if the user selects "No, I'm the only business owner", it'll skip page 8 ("Who Owns Your Business?") entirely.

    However, there have been some cases where a user selects "Yes" on page 7, which takes them to page 8. After they fill out the required fields, they decide to go back to page 7 and select "no" instead (skipping page 8). This ideally should void their answers on page 8 from appearing in the final submission report, but I can't figure out how to disable them (which makes interpreting their actual answers or decision-tree a bit tricky).

    My conditional logic's getting a bit messy as I'm trying different things, so I thought I'd come to you!

    Thanks,
    Ryan


    Page URL:
    https://www.jotform.com//?formID=63415366618965

  • Profile Image
    JotForm Support

    Answered by Welvin on December 08, 2016 at 12:13 PM

    Do the following:

    Go the Preferences > Advanced tab > Select "Clear on Being Hidden" from the Clear Hidden Field Values dropdown:

    If this is not working, then add a conditional logic to hide the fields in Page 8 when No is selected in page 7.

    https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    Make sure to keep the Clear Hidden Field Values to Clear on Being Hidden.

    This should work. Please try and do let us know how it goes.