I got it to work. I have changed few lines and set the variable elValue in the first line.
....
var elValue =-1
if (elName == 'chkValue' || elValue == '0')
{
if (typeof optValue.radioValue.length != 'undefined')
{...
I have a form with 2 sets of radio buttons and a set of checkboxes. It looks like this:
Working part: When a user selects first 'radOpt' button the othter radio buttons 'radioValue' are disabled.
When a user selects the second 'radOpt' button the radio buttons 'radioValue' are enabled and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.