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

    When will you have support for field validation based on regular expression?

    Asked by calvaryftl on May 15, 2014 at 02:08 PM

    Something beyond the masking currently provided is desperately needed.

  • Profile Image

    Answered by Carina on May 15, 2014 at 04:18 PM

    I kindly ask you give us more details, on which form and what do you intend to achieve so we can try to find the best solution for this.

    Thank you

  • Profile Image

    Answered by calvaryftl on May 16, 2014 at 11:31 AM
    I'd be glad to.
    We have a budget code field, which we would like to validate with the following regular expression:
    /^(?!10-73480)(?!10-51725)(?!10-75900)[135]0-\d{5}-\d{4}$/
    Here is the form link:
    http://form.jotform.us/form/40895626779171
    Field label:
    Enter your ministry's budget account code. Please contact your team's accountant if you don't know it.
    Thanks
    ________________________________
    ...
  • Profile Image
    JotForm Support

    Answered by EltonCris on May 16, 2014 at 02:31 PM

    Hi,

    That's is not possible in the form builder as of the moment but you can achieve that when you take your form source code and apply your custom regular expression.

    If you need further assistance with this, let us know here and we'd be happy to assist.

    Regards!