Is there a way to unselect a radio button once you've marked it?

New Here ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

I have a form where a user needs to select reinvest or cash as a distribution option.  The reinvest box is a check box and if they choose cash it's a radio button with 4 cash types.  If the user initially selects a cash option, then changes their mind to reinvest, how can they unselect one of the 4 cash options that they marked?  I really don't want to make the reinvest option part of the radio group, because it's in a different section of the form...  Is there a way to uncheck the radio button like you would uncheck a check box?

TOPICS
PDF forms

Views

188

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Oct 13, 2020 Oct 13, 2020
Use this as Checkbox mouseUp event:if(event.target.value != "Off"){ this.getField("radio button name goes here").value = "Off";}

Likes

Translate

Translate
Engaged ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

You could add code to checkbox when it's checked it will reset radio buttons. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

I don't know how to do that.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

Use check boxes for this.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

I used Radio buttons to prevent the user from selecting more than 1 cash option

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

Then use a radio button group.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

I did use radio buttons, but if they select an option and then change their mind they can't uncheck the button

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

They can select a other option.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

LATEST

Correct, that's how a radio-button group works. If you don't want that you can use check-boxes, as mentioned. Give them the same name but unique export values to create a mutually-exclusive group, which can still be un-checked, if desired.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

I had this same issue recently and found a solution!

Go to Prepare forms and in the sidebar that pops up under the alignment tools click "more" with the tool symbol then "clear form" and this should reset all of your form fields

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

Use this as Checkbox mouseUp event:

if(event.target.value != "Off"){
this.getField("radio button name goes here").value = "Off";}

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines