Answer the question
In order to leave comments, you need to log in
Validation with Expression, how?
There are 3 fields. I want to validate like this: If there is the first-2 and 3 are not available and vice versa, there are 2 and 3, then the first is available. I'm doing this for now:
<constraint name="Expression">
<option name="expression">
this.getOrganization () === null and value !== null
</option>
<option name="message">
Don't work of Organization or fill this field
</option>
</constraint>
Answer the question
In order to leave comments, you need to log in
There are 3 fields. I want to validate like this: If there is the first-2 and 3 are not available and vice versa, there are 2 and 3, then the first is not available.
// a
(this.b and this.c) or value
// b
this.a or (this.c and value)
// c
this.a or (this.b and value)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question