JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Matrix Field: How can I prevent a negative number from being entered?Asked by Jerole on November 07, 2016 at 02:37 PM
I have an order form using radio check and a matrix. I am exporting it into FileMaker to create several custom reports for all those that need to know for order fulfillment.
I noticed 1 field was a negative number. How do I prevent this?
Hello, since you never mentioned which field you're referring to, I checked your Submissions and found a negative value on your Matrix Field:
If that's what you're referring to, then no, there's no innate feature/option to prevent users from entering negative values on the Numeric Textbox of a Matrix Field.
As a workaround, you may use a visual cue (an error message of sort) that will tell them that it's not allowed by using Conditions and a Text Field. Here's what I had in mind:
To achieve that, just do the following:
1. Drag a Text field to your form.
2. Create your condition as shown below:
This means that IF the Matrix Field contains a - THEN show the visual cue that Negative Values are not allowed (optionally, you may also hide the Submit button to prevent them from sending the form if the visual cue error is displayed)
Thanks I'll give it a try.