Pages

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

Friday, April 12, 2024

Automatically copying that text to another textbox use jQuery with Nintex Forms

 Automatically copying that text to another textbox use jQuery with Nintex Forms

you can achieve this using JavaScript/jQuery code within Nintex Forms. Here's a basic example of how you might do it:

// Assuming you have two textboxes with ids 'Name_textbox1' and 'Name_textbox2'

// Replace 'Name_textbox1' and 'Name_textbox2' with the actual ids of your textboxes

$(document).ready(function(){ $('#Name_textbox1').change(function(){

var text = $(this).val(); // Get the value of Name_textbox1

$('#Name_textbox2').val(text); // Set the value of Name_textbox2 to the value of Name_textbox1

}); });


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