Sum of 2 fields must equal the value of a 3rd field
-
Is this possible?
Field1 is an input field where user has entered 5
Fields 2 & 3 are required input fields whose total must equal the value in field1 (5 in this example).
If sum of fields 2 & 3 is not equal to field1, an error is returned to the user to correct their inputs.
Alternately, I could make field2 an input field, field3 would be a calculation of (field1 – field2) to ensure the total is correct but I would still need to ensure that field2 is <= field1. Can that be done? Throw an error is the user inputs a value in field2 that exceeds the value of field1.
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.