• Resolved tcoursey

    (@tcoursey)


    If you have a form field that is NOT REQUIRED but has Validation setup on it…it throws an error when leaving blank, based on the validation criteria.

    I’d like to have a field that is validated if they choose to fill it in…but is not required. Currently they are not able to leave blank.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Amrit Kumar Shrestha

    (@shresthauzwal)

    Hi @tcoursey,

    Sorry, but the request is not very clear.

    Could you please provide more details about the use case? Also, could you explain the validation process you’re using on your form, including the registration link?

    We will review the information and get back to you as soon as possible.

    Best regards!

    Thread Starter tcoursey

    (@tcoursey)

    Sorry that wasn’t clear…I’ll try again, but not sure what else to say.

    When you setup a form you have the ability to make an individual FIELD REQUIRED…or NOT….meaning the user would HAVE to fill the field out or NOT to proceed/have the form submitted without error.

    On each field you have the advanced feature to have FIELD VALIDATION. This could be numeric or other VALIDATION requirements.

    We have a field that WHEN it is REQUIRED it needs to be numeric between 1 and 5. So we have that setup under VALIDATION of that field. However this is not a REQUIRED field for the user to fill out.

    When a field is NOT REQUIRED but HAS VALIDATION setup on it, the form ERRORS out when trying to submit.

    Is that more clear?

    You can see this behaviour on a form you setup I’m sure…but if you want to see on ours it’s here: https://treyc17.sg-host.com/membership-application/#ApplicationForm The ROAD CX and MTB fields have numeric validation but are not required.

    Should be a pretty simple bug fix from what i gather. Prob just running the validation but not considering that it’s not required.

    Plugin Support Amrit Kumar Shrestha

    (@shresthauzwal)

    Hi @tcoursey,

    With the current feature, it is not possible to meet your needs. However, we are working on finding an alternative solution using a custom code snippet. We will get back to you shortly.

    Best regards!

    Thread Starter tcoursey

    (@tcoursey)

    Fair enough, and I look forward to whatever fix/help you can offer. Sounds like it may take a bit more work to re-factor the current code to allow for what I would consider correct functionality of said feature.

    Hopefully in the future it would allow for validation of a field, IF and only IF it is a required field to fill out.

    Thanks again!

    • This reply was modified 1 year, 2 months ago by tcoursey.
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Non Required Field with Validation Bug’ is closed to new replies.