On this page I have a form: http://www.missionfamily.org/index.php?route=account/register
At the top there are two elements:
A selector "select.nomeassociazione" and a field "input.codiceassociazione"
The selector is basically turned off to start with "it shows a placeholder text "----seleziona---"
What I am trying to achieve but having difficulty with is:
If a user changes the value of the select dropdown to anything but the off value (mentioned above) AND ALSO inserts any value in the field below, THEN I need to change the style of the div#conditionalform - new values: opacity: 1; pointer-events: auto;
Of course I need the opposite check too. If anyone later on changes the select and input values to what they were at the start (select to off and input to empty) then I need to reset the div#conditionalform style to: opacity: 0.25; pointer-events: none;
thanks in advance