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.
Is it possible to build data validation into a form?Asked by William Rowan on February 25, 2015 at 10:24 AM
For example, if the form asks for a total number of participants, and then asks for a breakdown by male and female, is it possible to generate an error or warning that the total number of male and females is greater (or less) than the total number of participants?
If you would like to perform conditional logic like "if number of males is greater than females then...", yes it is possible. You can find more about it here: http://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic. You can show or hide a "Text" field that will act as an error message, when the condition is met or not, you may also need to use the Form Calculation widget to get the total number of males and females then compare it to the total number of participants that you have.
Just make sure that the input fields are a number type field so that you can compare values.
Do let us know if you need more assistance on this.
Thx so much!