Hello,
I have a form where I have two fields that are required if either one is given a value. They are not required on the form unless on or the other is given a value.
The fields on my attached form image are: Completed By, and Completed Date
Screenshot: https://imgur.com/vttYNv3
1 Answers
You can refer custom JS validation function: https://www.gridphp.com/docs/validation/#js-validation
Demo Code:
Field level: https://www.gridphp.com/demo/demos/editing/js-validation.phps
Form level : https://www.gridphp.com/demo/demos/editing/js-validation-form.phps
Your Answer