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

    Is it possible to include a "regular expression" code in a field?

    Asked by welshjs on August 10, 2015 at 11:35 AM

    I want to add JS that will check a field to ensure a code in entered in the correct format:




    Letter, Letter, Number, Number, Number, Number, Number, Hyphen, Number, Number

  • Profile Image
    JotForm Support

    Answered by EltonCris on August 10, 2015 at 01:17 PM

    Yes that's possible using input mask. You can enable input mask when you click a textbox field on your form.

    Example: The following example will give an output base on your sample.

    Hope this helps!

  • Profile Image

    Answered by welshjs on August 10, 2015 at 01:39 PM
    Thanks perfect!