Hi there, Suppose I have two lookup fields with the following values: Now, before sending the form, I want to compare some of their values, and if the conditions are met, allow the registration of the form, otherwise, an error.
For example:
If the value of the first field is equal to A and B, the second value should be H and G
and get error > ....custom error 1
Or
If the value of the first field was equal to A, the second value should be C and O
and get error > ....custom error 2
And finally, if a condition was not defined, the form should be registered How can I do this? Is there a sample code? BR
Please login or Register to submit your answer