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.
Form Fields: Use regex for validation in input fieldsAsked by Aegidian on July 22, 2016 at 11:59 AM
Input mask is useful, but it doesn't cover all situations (for example where a limited subset of characters are required.)
As a programmer I'm used to using regular expressions to specify groups of acceptable characters in a string.
Is it possible for you to create an input box that verifies its input using a regular expression?
Hi! I agree that when you need to filter input fields that require a bit more complex validation, then regex is the go-to solution of most programmers. Yes our input masks work well for simple validation, but at the moment, that's the extent of the capabilities of the form fields.
For the meantime, I'm adding this as a feature request on your behalf. Although I won't be able to give you any timeframe, rest assured, our developer will take a look at the feasibility of adding this feature and you'll be updated on this same thread once it's available.
Thanks, that's pretty much exactly the response I was hoping for.
The solution given in the thread you link is also useful. I'll consider how best to integrate it in future forms.