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

I need Multiple Checkboxes in a single line to NOT remove a previous yes/no answer already selected

Community Beginner ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

I am creating a form and am having issues with multiple YES/NO questions on the same line, removing the previous YES/NO already selected.  I know nothing about  JAVA scripts(and have seen a few suggestions on what may help but idk) i am a beginner to this, nothing complicated, and unfortunately need this fixed today, or I have to move on to using something else.  Below is an example of where it messes up.

DONA23064581dgos_0-1711633300274.png In the 1st, and 5th rows if I select yes on Have Photo ID, AND THEN GO OVER to Have DD-215 and click NO, when I get to Recv'd resume, whatever option i chose will REMOVE the previous YES or NO checked on either one of the boxes.  It appears to not allow the same value selection within the same row.   But on lines 3 & 4 I am able to select as many options as I want or none (which is how I want it).  I am not even concerned with a YES and NO selection both being able to be checked, although the other fields which are fine on other pages do have it set that only a YES or  NO can be selected for each question asked.

 

Can someone please help, this has been days of re-working this form and getting nowhere.

 

TOPICS
Create PDFs , Edit and convert PDFs , PDF forms

Views

1.9K

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
4 ACCEPTED SOLUTIONS
Community Expert ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

That is because all those checkboxes have same name but different export values, and they act as radio buttons (mutually exclusive) to fix this just rename fields.

For example, leave Have photo ID name as they are, for Have DD-214 rename both checkboxes to "Have DD-214" and for recv'd rename both checkboxes to "Recv'd"

View solution in original post

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 ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

You need to rename the checkboxes so they are properly grouped. Checks that belong together need to have the same name, but different export values. 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

View solution in original post

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 ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

Ignore the Rashdi post. It is meaningless in this context. 

 

The field names have literally nothing to do with the text that appears on the page. 

Please read these articles, they will answer all your qestions:

https://www.pdfscripting.com/public/Editing-Fields-Properties.cfm 

https://www.pdfscripting.com/public/Checkboxes-and-Radio-Buttons.cfm

https://www.pdfscripting.com/public/PDF-Form-Scripting.cfm

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

View solution in original post

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 ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

To rename field there are few ways you can do it.

1. Select 'Prepare form' tool, then right-click on the field you wish to rename and select 'Rename field'.

2. Select 'Prepare form' tool, then right-click on the field you wish to rename and select 'Properties' in the 'General' tab you can change the name of the field.

Here is your file with changed names:

https://drive.google.com/file/d/1ts6q6Pg7Ayhb7nO3YKl6wSyZ7SFEsF-N/view?usp=sharing 

View solution in original post

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 ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

That is because all those checkboxes have same name but different export values, and they act as radio buttons (mutually exclusive) to fix this just rename fields.

For example, leave Have photo ID name as they are, for Have DD-214 rename both checkboxes to "Have DD-214" and for recv'd rename both checkboxes to "Recv'd"

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 ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

You need to rename the checkboxes so they are properly grouped. Checks that belong together need to have the same name, but different export values. 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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 Beginner ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

thank you but remember beginner beginner here, so how exactly do I rename them without changing the name of the text in the fields ? I have played around with the Fields editing and had changed the _# after each yes/no but that didn't work either.  So how do I rename these fields ?  I have no clue - thank you.

DONA23064581dgos_0-1711641766904.png

 

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 Beginner ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

i also dont know if i should add that I created this form from a word document, so I had previusly tried to edit and add a new check box to the pdf version, but when i did that, i found that the new box was nowhere near the same size as the previously created ones from the word doc.  So not sure if tha tis also now another problem, if i need to add them.

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 ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

Ignore the Rashdi post. It is meaningless in this context. 

 

The field names have literally nothing to do with the text that appears on the page. 

Please read these articles, they will answer all your qestions:

https://www.pdfscripting.com/public/Editing-Fields-Properties.cfm 

https://www.pdfscripting.com/public/Checkboxes-and-Radio-Buttons.cfm

https://www.pdfscripting.com/public/PDF-Form-Scripting.cfm

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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 ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

To rename field there are few ways you can do it.

1. Select 'Prepare form' tool, then right-click on the field you wish to rename and select 'Rename field'.

2. Select 'Prepare form' tool, then right-click on the field you wish to rename and select 'Properties' in the 'General' tab you can change the name of the field.

Here is your file with changed names:

https://drive.google.com/file/d/1ts6q6Pg7Ayhb7nO3YKl6wSyZ7SFEsF-N/view?usp=sharing 

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 Beginner ,
Mar 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

I'm sorrry Thank you for the document, although i have other changes that also need made, but just like winging it myself, your instructions also don't allow me to make these corrections.  You state Prepare Form twice, and when I go to the "field" i want to correct...i am clueless on what or how i am suppose to select it.  Am I using the FIELDS toolbar that pops up on the right?  but even then if so....what am i to actually select to make the change?  I also need need to correct this section, but...,in the FIELD area 

DONA23064581dgos_0-1711725131000.png

(not even sure if i am to "select" what i want to change here or actually on the form itself )

DONA23064581dgos_1-1711725265330.png

but this is how its listed...so what am i "changing"  - the additional question is not even listed, that is why this all is very confusing.

 

And there are also similar area's that are in FIELDS the same type way that I'm not sure what exactly you are saying to change becasue when I look at what you had done in FIELDS, it doesn't look like you changed a name, it looks as though you added a field ?

DONA23064581dgos_2-1711725542046.png

 

 

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 ,
Mar 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

It was a group of 6 fields, I renamed them so now you have 3 groups of 2 fields which is the same 6 fields you previously had but with different names.

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 Beginner ,
Mar 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

Ok i got it now, thank you! but now unfortunately i have run into a new issue with fields to be corrected below - they are not populating the same as the others I've corrected, and i've read the other articles and i still do not know whi8ch applies.  Under PREPARE FIELDS there seems to be an exgtra NO (?) 

DONA23064581dgos_0-1711729781923.pngALTHOUGH there is not an additional field  for the YES NO?

DONA23064581dgos_1-1711729820837.png

 

 

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 Beginner ,
Mar 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

AND there is not a selection to RENAME for the Water Current ?

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 ,
Mar 29, 2024 Mar 29, 2024

Copy link to clipboard

Copied

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 Beginner ,
Apr 01, 2024 Apr 01, 2024

Copy link to clipboard

Copied

LATEST

Thank you I don't know if versions make a difference, but with "videos" i sometimes also am better with written instruction as well, but.....All fields do not populate the same options for me, and some fields when trying to correct - just got worst with the video instructions. 

 

I have fields that just dont have the proper heading or don't have a NO selection in prepare form because they are all linked to another field.  In this section here is where they are still all messed up.  

DONA23064581dgos_0-1711998332007.png BELOW is what is populating:

DONA23064581dgos_1-1711998690003.pngDONA23064581dgos_2-1711998763953.png

These fields are all independant 

R/M Current   EITHER Y OR NO  then   Amount behind Mortgage

Util Current     Y   or No

Elect Current   Y or No          then Amount behind elect________

Gas Current   Y or No          then Amount behind gas________

Water Current   Y or No          then Amount behind water________

 

Child Support current   Y or N then Amount behind __________  but then on the next line

    there is a supplemental question related toi IF NOT CURRENT, then that needs to be a Y OR N response

 

that is the most crucial part of my form (above), but if its not too much, I would like to make options in these fields  only be allowed one response (below).

 

DONA23064581dgos_3-1711999091632.png

and in prepare form, i do'nt even see some of these options.

 

 

 

 

 

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