Card Form: Got a required field error for a hidden card

  • Profile Image
    Rao_Chetan
    Asked on August 10, 2019 at 07:43 AM

    Hello. I've encountered an error on my form with conditional logic (the form is at https://www.jotform.com/build/92090768167466). The form is configured so that the last-but-one question asks users whether they want shipping. If they say yes, then the next question is displayed, asking for their address (required fields). If they say no, they can submit the form without seeing the next question.

    But a user reported an error where they choose yes, go to the last question, and then change their mind, go back and choose "No" in the previous question. The "Next" button becomes a submit button, but the form does not submit, it just says, "There are errors on the form. Please fix them before continuing."

    Please help me fix this problem. Thanks.

  • Profile Image
    Vanessa_T
    Answered on August 10, 2019 at 09:39 AM

    Although the last question was hidden, but it was by default marked as required. Please add another condition that if user selects no shipping, then unrequire the shipping details.

    1565444365Screen Shot 2019-08-10 at 9.36