JET keeps evolving and in the latest versions - toolkit provides improved support for form cross-field validation. It is much easier to implement validation than it was before. I will show it in this example.
Example of the data entry form. Validation logic:
- Invoice Date before Payment Due Date and Payment Date
- Payment Due Date before Payment Date
Example when two fields fail validation:
JET provides component called validation group. Form can be wrapped by this component to identify if any validation errors are reported there. For example, when calling JS function, before proceeding with the function code - we can check if validation group contains errors: Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.