Pages

Showing posts with label JQuery. Show all posts
Showing posts with label JQuery. Show all posts

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 );

});


Friday, January 19, 2024

How to apply Label Border Color in the Nintex form using jQuery


Using a Custom Class on your Nintex form label control

If your label has a custom class, such as CSS class property then apply Label control name is LabelToolTips


Use in the following code on your code logic

NWF$('.LabelToolTips').css('border', '2px solid #ff0000'); // Red border

NWF$('.LabelToolTips').html("*If you are unsure, choose Intranet Issue"); //Apply Value

NWF$('.LabelToolTips').css('border', 'none'); // Remove Border