Validation field on condition

  • Profile Image
    Metropolinet
    Asked on February 18, 2021 at 07: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_

  • Profile Image
    Richie_P
    Answered on February 18, 2021 at 08: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.png

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