Skip to main content

I have one text box whose value if greater than 35,000 then it should automatically tick the radio button.

That radio button is highlighted in yellow.

 

9869i0B61FC14BE4E746F.png

@emha please help on this

@RonitSSS You could use the following to get you started: 



txt field Client ID JavaScript variable name jsvar_txt 



Checkbox field Client ID JavaScript variable name jsvar_AA



 



NWF$("#"+jsvar_txt).change(function(){

var moveTO = NWF$("#"+jsvar_txt).val();

switch(moveTO){

case '35000': NWF$("#"+jsvar_AA).prop('checked',true)}

});


 


Where to use this above code?

@RonitSSS  Add the code to the Form Settings  Custom Javascript section.



I changed the code to include greater than or equal to 35000.



 



NWF$("#"+jsvar_txt).change(function(){var moveTO = NWF$("#"+jsvar_txt).val();switch(true){case (moveTO >= 35000): NWF$("#"+jsvar_AA).prop('checked',true)}});


 



 



 



 


Reply