Pages

Friday, February 16, 2024

How to get the radio button value in the nintex form using jquery

 

When using a Choice control You will get value of selected radio button using in the following code:

Ensure the selector (input[name="myRadioGroupName"]) accurately targets your radio buttons. If you have assigned a class to them, you would use something like NWF$('.myCustomClass').

My Nintex Radio Button CSS name is rblRadio then i use in the following code

 NWF$('.rblRadio').change(function() {  

console.log("Clicked radio button");

                var radio_Button_Value = NWF$('.rblRadio').find("input:checked").val(); 

console.log("radio_Button_Value input checked " + radio_Button_Value );

});