Hello,
I have a radio button question with "Other". The question is required.
If they choose Other, the Other_Value is required. I'd like the other_value not required (optional), when the user chooses 'Other'.
Here's what I'm using, but it doesn't seem to be working....
$('#Field160_other_value').addClass('greenBackground'); // used pinpoint the input box $('#Field160_other_value').removeAttr('required'); $('#Field160_other_value').removeClass('required'); $('#Field160_other_value').removeClass('parsley-error'); $('#Field160_other_value span.cf-required').remove(); $('#Field160_other_value').removeClass('parsley-error');
All help is appreciated!!