RonitSSS
Design Dabbler

based on value tick yes/no button nintex form

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.

 

RonitSSS_0-1610521409060.png

@emha please help on this

0 Kudos
Reply
3 Replies
claudiaurbanski
Process Pupil

Re: based on value tick yes/no button nintex form

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

 

0 Kudos
Reply
RonitSSS
Design Dabbler

Re: based on value tick yes/no button nintex form

Where to use this above code?
0 Kudos
Reply
claudiaurbanski
Process Pupil

Re: based on value tick yes/no button nintex form

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

 

 

 

 

0 Kudos
Reply