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

How to uncheck radio buttons when a text field is filled?

New Here ,
Mar 08, 2017 Mar 08, 2017

Hi,

I was wondering how you can make radio buttons uncheck, if you fill a text field. And vice versa, when you check one the radio buttons the text field will be reset?

Thanks in advance for any help!

TOPICS
PDF forms
1.9K
Translate
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
1 ACCEPTED SOLUTION
LEGEND ,
Mar 08, 2017 Mar 08, 2017

You will need to use Acrobat JavaScript to write some custom code to set the value of radio button to "Off" so the check mark disappears. A user cannot manually uncheck a radio button or a selected button within an exclusionary group of radio buttons once one of the buttons in the group has been selected except for the use of JavaScript of resetting the group of radio buttons. Check boxes on the other had can be manually deselected.

View solution in original post

Translate
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
LEGEND ,
Mar 08, 2017 Mar 08, 2017

You will need to use Acrobat JavaScript to write some custom code to set the value of radio button to "Off" so the check mark disappears. A user cannot manually uncheck a radio button or a selected button within an exclusionary group of radio buttons once one of the buttons in the group has been selected except for the use of JavaScript of resetting the group of radio buttons. Check boxes on the other had can be manually deselected.

Translate
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 ,
Mar 09, 2017 Mar 09, 2017
LATEST

Well I managed to come up with a pretty premitive solution since I don't know JavaScript.

Thanks for the reply anyway!

Translate
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