Validation field on condition

  • Metropolinet
    Asked on February 18, 2021 at 7:06 AM

    Dear JotForm,

    Is it possible to make the field numeric or alphanumeric by condition?

    That is, if you select the radio button in option A, the field will be numeric and if you press option B, the field will be alphanumeric.

    The form:

    https://www.jotform.com/build/210482244607451/settings/conditions

    1613649965 602e582dce5a9  Screenshot 10

  • Richie JotForm Support
    Replied on February 18, 2021 at 8:23 AM

    Unfortunately, we don't have a condition that would require a field validation.

    I would suggest creating another field with the corresponding validation and use the show/hide condition.

    For example, you have a field which only accepts numeric, when the user select that option, you would show that field and hide the alphanumeric field.

    1613654577 602e6a317dfbf 1 Screenshot 10

    Please give it a try and let us know how it goes.