• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

1.6K

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

Community Expert , 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";}

 

Votes

Translate

Translate
Enthusiast ,
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. 

Votes

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.

Votes

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
Community Expert ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

Use check boxes for this.

Votes

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

Votes

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
Community Expert ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

Then use a radio button group.

Votes

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

Votes

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
Community Expert ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

They can select a other option.

Votes

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
Community Expert ,
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.

Votes

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

Votes

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
Community Expert ,
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";}

 

Votes

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