How show/not show validation icon using validation conditions

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
2.png

has to be mandatory depending on
3.png

Mandatory if = 2 (Richiesta iscrizione come Socio) ===> icon displayed
Not mandatory if = 1 (Iscrizione come Simpatizzante) ===> icon NOT displayed


Can someone help me, please?
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top