AnsweredAssumed Answered

Value of Multiple Radio Buttons Within a Conditional Statement

Question asked by furstlars on Apr 15, 2018
Latest reply on Apr 22, 2018 by furstlars

What is wrong with these syntax, because it's not working?

 

if (NWF$('#' + Question1).find("input:checked").val("Yes")) {
   NWF$('#' + AssessmentValue).val('Completed');
}

if (NWF$('#' + Question1).find("input:checked").val()=="Yes" ) {
   NWF$('#' + AssessmentValue).val('Completed');
}

Outcomes