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
You can refer custom JS validation function: https://www.gridphp.com/docs/validation/#js-validation
Field level: https://www.gridphp.com/demo/demos/editing/js-validation.phps
Abu Ghufran - Dev Team
Grid 4 PHP Framework
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?