Skip to main content
Nintex Community Menu Bar

Hide a text from drop down once Yes/No button is checked

  • May 20, 2020
  • 0 replies
  • 6 views

Forum|alt.badge.img

Hello,

 

I created a Form and I want a situation when my users unchecked a YES button from YES/NO control, one of the dropdown text in a repeating section will be disabled/hidden otherwise it should appear.

 

I tried Rules and it is not working, then i tried a javascript below, yet not working:

 

NWF$("#"+varHRVerification).click(function(){
   if(NWF$(this).prop("checked")){
       NWF$("#"varDescriptionofexpenses).val("Warm Clothing");
   }
   else{
       NWF$("#"varDescriptionofexpenses).val("Ground Transportation");
   }
});

 

can some please help me out?

 

Regards