Hi,
a form includes two elements with validation notempty. I would need that at least one of them is not empty. So if one (or both of them) is full then is ok, but if both of them are empty, then the validation should avoid that.
I wrote the following code into the condition box for both of them:
I tested it, but if I don't fill both of elements, then no validation is shown. How can I solve?
Thanks,
Enzo
a form includes two elements with validation notempty. I would need that at least one of them is not empty. So if one (or both of them) is full then is ok, but if both of them are empty, then the validation should avoid that.
I wrote the following code into the condition box for both of them:
Code:
return '{table___element}' == 2 || '{table___element}' == 1;
I tested it, but if I don't fill both of elements, then no validation is shown. How can I solve?
Thanks,
Enzo