Validating fields based on multiple other fields

  • Profile Image
    mschmitt
    Asked 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?

  • Profile Image
    EltonCris
    Answered on September 03, 2015 at 01:09 PM

    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!

  • Profile Image
    mschmitt
    Answered on September 03, 2015 at 01:22 PM

    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.

  • Profile Image
    Mike
    Answered on September 03, 2015 at 04:44 PM

    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.