Skip to main content
Nintex Community Menu Bar

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

  • May 4, 2017
  • 3 replies
  • 131 views

Forum|alt.badge.img+6

in the nintex from i am having the radio button based on the radio button value i need to set the other field  value in the jquery i am writing the script on click event of the radio button class and trying to get the value of the checked radio button value from the javascipt varaible

NWF$('.GenehmigungsprozessRVLgenehmigt').on('click',function(){alert(NWF$('#' + GenehmigungsprozessRVLgenehmigt ).val())}); 

for this i am getting null value

3 replies

Forum|alt.badge.img+9
  • May 4, 2017

When using a Choice control You get value of selected radio button:

NWF$('#'+ GenehmigungsprozessRVLgenehmigt + ' input:checked').val()


Forum|alt.badge.img+14
  • Scholar
  • May 4, 2017

event handler function gets passed in event object that identifies what happened and on which element/control. you can use it to read out current control's value

NWF$('.GenehmigungsprozessRVLgenehmigt').on('click',function(evt){
       console.log('value= '+evt.target.value);
}) 

Forum|alt.badge.img+7

Hi

‌'s solution worked for me