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.
Validating fields based on multiple other fieldsAsked by mschmitt on September 03, 2015 at 10:40 AM
I would like to make a requirement rule that is based on multiple fields, specifically:
If field A = value 1, then field B must be > field C (number)
If field A = value 2, then field B must be > field C (number) * [multiplier value]
Is writing this sort of condition possible?
I think that's possible with "Update a form field value" condition.
Kindly give it a try and let us know if we can be of further assistance. Thanks!
Thanks for the quick response, but I don't think it's quite what I'm looking for. I don't want to calculate a field value based on another field, I just want to make it a requirement that the form can't be submitted if the field value is too low relative to another field. It doesn't seem like the 'Update a form field value' option has that functionality.
There is no built-in functionality in JotForm specific for that case. Although, in theory it might be possible to use some combination of conditions and fields to achieve something similar. For example, this is possible to Hide a Submit button based on specific rules, or make Required some input with a Change Attributes condition.