Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

Search 3B Knowledge Base

You are here:
< Back

What is form input validation?

When it is important for you that the data collected through forms is clean and valid, you would opt in for input validation. Control of input validation is done through the Form Field editor.

How do I add input validation?

Just jump over to edit any valid field (Text Fields, Date/Time Fields) from the Form Builder. In the field settings pop-up, right at the bottom, you will see a panel such as this one:

Here, you can see generally 3 sections:

  • Input Length – this is the control over the Maximum/Minimum length of text & characters that you want to allow your form users to enter.
    • This field dynamically changes if the field you are editing is of type Date, DateTime or Time. Then, you will be able to set Minimum & Maximum date that a user can enter. If you set Minimum date, then the user can select any date in the future. If you select Max date, then the user can select any date before the Max date. Finally, if you set Minimum and Maximum date, then the user will only be able to select date between that date range.

 

  • Validate As – this is a list of pre-set validation options that you can choose to apply to a field. This list will continue to grow as 3B Forms matures, but currently, you have a set of options to choose from
  • Custom RegEx – this is where you can enter your custom validation rules. This field supports standard JavaScript Regex and you can view some sample snipplets here:

Note:

  • You can use online RegEx validators such as https://regex101.com/

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

3B Initiative

Jonathan B – 5 Stars

Get this and simplify your processes Thank you for your review, Jonathan, a happy little acacia tree is planted in your name! The exact coordinates

3B Initiative

Andy K – 5 Stars

Makes forms easy Thank you for your review, Andy, a happy little acacia tree is planted in your name! The exact coordinates of the tree

3B Initiative

Matthew W – 5 Stars

Best Free Forms Product on the AppExchange Thank you for your review, Matthew, a happy little acacia tree is planted in your name! The exact

Innovate, improve, empower. We believe engaged and happy customers make great partners, and see continuous feedback and collaboration as key levers in our shared drive for success. You need a small customisation to fit that nonconforming process step you have? We are more than happy to offer it free of charge. You have a recommendation for improvement/feature implementation? We are happy to listen, and will issue you with a special certificate to credit you for an idea that goes into the product.

As (we hope) you probably guessed yourself already – we want to be the single most flexible and customer-friendly forms solution on the market.