In the validation part, as i'm using editor.dependent to make some fields appear or not, i would like to make them required only if they are visible. Can someone tell me if it's possible to do so.
Many thanks for your help.
The server-side does "know" if they are visible or not, but you would be able to apply the same logic at the server-side to know if they (for example if field 1 is == 1 then field 2 should be validated, if it is == 3 then field 3 should be validated instead, etc.
Answers
The server-side does "know" if they are visible or not, but you would be able to apply the same logic at the server-side to know if they (for example if field 1 is == 1 then field 2 should be validated, if it is == 3 then field 3 should be validated instead, etc.
Conditional validation can be applied using server-side events.
Allan
Thanks Allan for your help !!! very much appreciated.