Field mask validation with characters and numbers, but without I, 1, 0 and O

  • Alertforce_AU
    Asked on April 12, 2016 at 7:48 AM

    Hi there,

    I have a complex field validation requirement that I need to apply and I want to understand whether this is possible using Jotform?

    The condition that I need to use as a field mask is:

    It must be 10 digits in length and consist of only capital letters and numbers, excluding I, 1, 0 and O.

    Can you tell me if this is possible and if so how?

    The field I need to apply this to is called USI (Unique Student Indicator number)

    Thanks

    Jeremy

  • Ben
    Replied on April 12, 2016 at 9:51 AM

    Unfortunately Jeremy that specific mask can not be made, but you can make the mask that is accepting 10 characters (numbers and letters) and have them accept character or letter in a place where you want it to be (out of 10 characters).

    Now, based on what you have mentioned I presume that you want to avoid getting IO and 10 mixed up.

    As mentioned, unfortunately it would not be possible to do the same within the form builder, but you can create the form as you would like it and then add that specific functionality to the form through javascript code - after getting the form source.

    Basically you capture the source of the finished form and make the modification, meaning that the form can only be used on your own website, but it would allow you to not allow I, 1, O and 0.