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

  • Profile Image
    welshjs
    Asked 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:

     

    AB12345-12 

     

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

  • Profile Image
    EltonCris
    Answered 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
    welshjs
    Answered on August 10, 2015 at 01:39 PM
    Thanks perfect!
    James
    ...