Application level validations include the field validations to be applied based on certain preconditions, such as the selection of another component or a value-driven choice. Complex application validations include validation on more than one field value.
In the following example, you can observe that based on the Validate By field selection, the application level validation applies to either the email or phone number fields.
- HTML:
<div id="sampleDemo" style="" class="demo-padding demo-container"> <div id="componentDemoContent" style="width: 1px; min-width: 100%;"> <div id="componentDemo"> <div id="crossfield-example" class="oj-form oj-md-odd-cols-4 oj-md-labels-inline oj-sm-odd-cols-12"> <hr> <h1>User ...