cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

How to make a radio button unchecked by clicking it on Nintex forms?

Jump to solution

How to make a radio button unchecked by clicking it on Nintex forms?

Labels: (2)
Reply
17 Replies
Workflow Hero

Re: How to make a radio button unchecked by clicking it on Nintex forms?

Jump to solution

I think it is only possible by javascript.

0 Kudos
Reply
Workflow Hero

Re: How to make a radio button unchecked by clicking it on Nintex forms?

Jump to solution

Hi Merildo,

In the Advanced Setting of your Radio Button, set Store Client ID in JavaScript variable to Yes and then enter an ID in Client ID JavaScript variable name. In this sample, it is MyRadioButtonID.

Here is the script you can put in a button

NWF$('document').ready(function(){

var strMyRadioButtonValue = NWF$('#'+MyRadioButtonID).find("input:checked").val();

NWF$('#'+MyRadioButtonID).find('input[value=\''+strMyRadioButtonValue+'\']').attr('checked', false);

});

Hope it helps

Christophe

Reply
Workflow Hero

Re: How to make a radio button unchecked by clicking it on Nintex forms?

Jump to solution

Hi, Christopher

Thanks a lot for the response, but as I am at the basic level of Nintex

forms, please send me more details. This script should be put at "Button

Settings"? Into what field ?

PS: I had some problems on the internet and could not send this response

by the Nintex Community.

sds

Merildo

Em 05/02/2015 12:47, christopheraucq escreveu:

HOW TO MAKE A RADIO BUTTON UNCHECKED BY CLICKING IT ON NINTEX FORMS?

reply from Christophe Raucq in Learn More - View the full discussion

0 Kudos
Reply
Workflow Hero

Re: How to make a radio button unchecked by clicking it on Nintex forms?

Jump to solution

Hi,

 

Right click your button, select Settings

Expand the Validation section

Required: Select No

Expand the Advanced section

Store Client ID in Javascript Variable: Set to Yes

Client ID Javascript variable name, set the name of your Javascript Variable. In my case: MyRadioButtonID

 

Client click: Paste the following javascript code and replace MyRadioButtonID by the ID you have set for the Radio Button field.

NWF$('document').ready(function(){var strMyRadioButtonValue = NWF$('#'MyRadioButtonID).find("input:checked").val(); NWF$('#'MyRadioButtonID).find('input[value=\''strMyRadioButtonValue'\']').attr('checked', false);});

 

Please note that you cannot test in Preview mode, you need to Publish.

 

Christophe

Reply
Workflow Hero

Re: How to make a radio button unchecked by clicking it on Nintex forms?

Jump to solution

Hi, Christophe

Thanks for the clarifications.

sds

Merildo

Em 06/02/2015 05:57, christopheraucq escreveu:

HOW TO MAKE A RADIO BUTTON UNCHECKED BY CLICKING IT ON NINTEX FORMS?

reply from Christophe Raucq in Learn More - View the full discussion

0 Kudos
Reply
Workflow Hero

Re: How to make a radio button unchecked by clicking it on Nintex forms?

Jump to solution

 . . . Now I need to set a redio button to checked based on its value.

Reply
Workflow Hero

Re: How to make a radio button unchecked by clicking it on Nintex forms?

Jump to solution

Please help me if you have a answer to the Question. I am also waiting for it. I need to set a redio button to checked based on its value.

0 Kudos
Reply
Workflow Hero

Re: How to make a radio button unchecked by clicking it on Nintex forms?

Jump to solution

Hi,

I received several answers but due to my lack of knowledge in javascript I

did not get the result I wanted

2017-07-28 12:08 GMT-03:00 prasadplvv <community@nintex.com>:

Nintex Community <https://community.nintex.com/?et=watches.email.thread>

Re: How to make a radio button unchecked by clicking it on Nintex forms?

reply from krishna pusarapu

<https://community.nintex.com/people/prasadplvv?et=watches.email.thread>

in Getting Started - View the full discussion

<https://community.nintex.com/message/67041-re-how-to-make-a-radio-button-unchecked-by-clicking-it-on-nintex-forms?commentID=67041&et=watches.email.thread#comment-67041>

0 Kudos
Reply
Workflow Hero

Re: How to make a radio button unchecked by clicking it on Nintex forms?

Jump to solution

Hello Christophe

Is there a similar solution for performing the same function for a Choice Control, that uses radio buttons to make the selection?

I have a Nintex 2013 Form where one of the controls is a Choice with 4 choices and no default values, using radio buttons for making single selections.

Use Case:

1) User selects one of the choices via a radio button

2) Then wants to unselect the choice without making another choice and continue making entries on the remainder of the form.

3) In order to unselect the choice without choosing another, the form editing must be "canceled" thereby undoing or preventing the other entries from being saved.

Thank you in advance for your assistance. 

Mark

0 Kudos
Reply