What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

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

    Asked by Alertforce_AU on April 12, 2016 at 07: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

    Page URL:
    https://form.jotform.co/61010871708854

    field validation JotForm length unique
  • Profile Image

    Answered by Ben on April 12, 2016 at 09: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.