I can't submit my form because a field that is not supposed to be required is now required

  • IMCWOW
    Asked on March 30, 2016 at 12:09 PM

    I'm having issues with conditions making a field unrequired if another field is filled in.

    Here's an example:

    My input_11 field and input_46 field should work together. If input_11 is filled, I need input_46 to be unrequired and disabled. And if input_46 is filled I need input_11 to be unrequired and disabled. Input_11 and input_46 should not be filled at the same time.

    When I test the form and fill everything out i'm getting an error saying that the opposite field that is filled in is still required. 

    Why are my conditions not working?

    I cant submit my form because a field that is not supposed to be required is now required Image 1 Screenshot 30

    I cant submit my form because a field that is not supposed to be required is now required Image 2 Screenshot 41

  • Nik_C
    Replied on March 30, 2016 at 3:30 PM

    I can see that my colleague has already provided the answer for you here.

    Please let us know if you need any further assistance. 

  • IMCWOW
    Replied on March 30, 2016 at 3:51 PM

    Thanks for the response, however, the response from that thread was a separate issue on the same fields. I was able to remove the error when the form is loaded but after submitting I'm seeing errors for required fields when those fields are not supposed to be required. 

    My conditions are set up to say that if the image upload field is filled, the text input field should be disabled and unrequired. And vice versa, if the text input field is filled, the image upload field should be unrequired and disabled. 

    But, when trying to submit I'm receiving an error that says the fields that  are supposed to be unrequired are not required

  • Mike
    Replied on March 30, 2016 at 6:37 PM

    There might be conflicts caused by other other Unrequire Multiple conditions where you trigger the same fields.

    I cant submit my form because a field that is not supposed to be required is now required Image 1 Screenshot 20

    You can try to run some tests with a cloned version of the form or disabled conditions on your current form.

  • IMCWOW
    Replied on March 31, 2016 at 9:41 AM

    These fields were created to resolve another issue I was having that I outlined in this thread. When I loaded the form, I was seeing required errors on fields before I even clicked anything.

    I've cloned my form here and disabled the conditions you highlighted in red to show you the error I'm seeing when loading the form:

    I cant submit my form because a field that is not supposed to be required is now required Image 1 Screenshot 20

  • Welvin Support Team Lead
    Replied on March 31, 2016 at 12:05 PM

    It's the disabled conditional logic that is causing this. I have enabled the condition in my cloned version of your form and the problem had gone away.

    You have to filter it by Field #23:

    I cant submit my form because a field that is not supposed to be required is now required Image 1 Screenshot 30

    Here's the cloned version of your form: https://form.jotform.com/60905137900956

    You should also make sure that the fields are all required by default since your conditional logic is set to unrequire them.

    I cant submit my form because a field that is not supposed to be required is now required Image 2 Screenshot 41

  • IMCWOW
    Replied on March 31, 2016 at 12:58 PM

    After I re-enabled the conditions and set all fields to required by default, the errors are no longer showing. I've tested multiple times and I have not had any troubles with this solution.

    Thank you all for the help, I greatly appreciate it!