F.schettino
Italian
I need use the same form for different situations.
In same cases, I need insert a conditional validation depending on values inserted in other fields.
It works, but the validation icon is always displayed, even if conditional validation would give false.
I tried also to set the form to Ajax validation.
How can I work around?
I think I have to use JavaScript, but I don't know how.
Example:
Birth date
has to be mandatory depending on
Mandatory if = 2 (Richiesta iscrizione come Socio) ===> icon displayed
Not mandatory if = 1 (Iscrizione come Simpatizzante) ===> icon NOT displayed
Can someone help me, please?
In same cases, I need insert a conditional validation depending on values inserted in other fields.
It works, but the validation icon is always displayed, even if conditional validation would give false.
I tried also to set the form to Ajax validation.
How can I work around?
I think I have to use JavaScript, but I don't know how.
Example:
Birth date
has to be mandatory depending on
Mandatory if = 2 (Richiesta iscrizione come Socio) ===> icon displayed
Not mandatory if = 1 (Iscrizione come Simpatizzante) ===> icon NOT displayed
Can someone help me, please?