I know I am so close to a solution but just need a push in the right direction!
So I have a field that fills itself out based on a lookup done earlier, one of its possible values is SENR. Class = levelhid
Then I have some radio buttons that I would like to fill out based on the levelhid. Class = level
The expected result if the levelhid = SENR would be for the level to check "Senior" radio button.
$(".levelhid").change(function(){
var levelhid = $(".levelhid input").val();
if (levelhid == "SENR"){
$(".level input:check").val("Senior");
}
else if (levelhid == "ADJ"){
$(".level input:check").val("Adjunct");
}
else if (levelhid == "MSTR"){
$(".level input:check").val("Master");
}
});
Thanks!