From viewing other posts, I have achieved most of what I want with the script below. It will hide the Reject button until someone clicks Yes on a radio button. However, it does not disable the Approve button, or hide it. Either option would be acceptable.
Could anyone view my script and add the piece that would either disable or remove the Approve button if the targeted radio button has been clicked to Yes?
$(document).ready(function(){
// hide submit by default
$('.Reject').hide();
// apply event handler to radio inputs
$('#q93 input').change(function(){
// if 1 or more YES selections are found
if($('#q93 input[value="Yes"]:checked').length > 0){
// show submit button
$('.Reject').show();
}
// otherwise
else{
// hide submit button
$('.Approve').hide();
}
});
});