AnsweredAssumed Answered

How Do I Set A Radio Button Value, Based on Another Button's Value?

Question asked by furstlars on May 21, 2018
Latest reply on May 22, 2018 by furstlars

I'm having trouble getting this to work. I can clear the Approve radio button value with .prop("checked", false);, but can't set its value (initially empty) using the method marked in red below:

var DecisionRB = NWF$('#' + Decision);

 

DecisionRB.click(function() {
if (DecisionRB.val()=="Recommend") {
NWF$('#' + Approve[value="No"]).prop("checked",true);
}
})

Outcomes