Highlighted

Radio Buttons and Fillable Text Fields

Community Beginner ,
Nov 11, 2020

Copy link to clipboard

Copied

This is what I am trying to do:

  1. I have 10 text fields which are highlighted blue to show it can be filled in
  2. I have 2 radio buttons, 1st button is for NO and 2nd button is for YES
  3. If you press NO button the 10 text fields are turned off and cannot be filled in and the blue highlight is gone leaving the fields white.
  4. If you press YES button the 10 text fields are turned on and highlighted in blue to show they can now be filled in.

Adobe support tech could not figure out how to turn the 10 text fields on and off. They were only able to turn just 1 text field on or off. After many tries they said it seems as though you can only turn 1 field on or off with 1 radio button. You would need 10 radio buttons to turn the text fields on and off. This makes no sense as Adobe would never design a program that warrants 10 buttons. I requested a higher level tech and was told I could not get one, seriously?

Adobe Community Professional
Correct answer by ls_rbls | Adobe Community Professional

You're missing the curly braces at the end of that script

 

I will suggest that the easiest way to get this to work for a beginner is to copy this code exactly as it is posted below and paste it in the javascript editor for the first radio button:

 

 

this.getField("Juvenile Address").readonly =true;

this.getField("Juvenile Residence Phone").readonly =true;

this.getField("Juvenile Business Phone").readonly =true;

this.getField("Juvenile Notified By").readonly =true;

this.getField("Juvenile Date").readonly =true;

this.getField("Juvenile Time").readonly =true;

this.getField("Juvenile Disposition").readonly =true;

this.getField("Juvenile Released To").readonly =true;

this.getField("Juvenile Released Date").readonly =true;

this.getField("Juvenile Released Time").readonly =true;

this.getField("Juvenile By Name").readonly =true;

this.getField("Juvenile Reason").readonly =true;

this.getField("Juvenile School Attended").readonly =true;

this.getField("Juvenile Grade").readonly =true;

this.getField("Juvenile Description of Property").readonly =true;

this.getField("Juvenile Value of Property").readonly =true;

this.getField("Juvenile Check Parent").readonly =true;

this.getField("Juvenile Check Legal Custodian").readonly =true;

this.getField("Juvenile Check Other").readonly =true;

this.getField("Juvenile Check Defendant").readonly =true;

this.getField("Juvenile Check Defendant Parents").readonly =true;

this.getField("Juvenile Check Yes 2").readonly =true;

this.getField("Juvenile Check Yes 1").readonly =true;

this.getField("Juvenile Check Yes Property Crime").readonly =true;

this.getField("Juvenile Check No Property Crime").readonly =true;

 

 

Then do the same procedure for this other code; copy and paste it in the other radio button:

 

 

this.getField("Juvenile Address").readonly =false;

this.getField("Juvenile Residence Phone").readonly =false;

this.getField("Juvenile Business Phone").readonly =false;

this.getField("Juvenile Notified By").readonly =false;

this.getField("Juvenile Date").readonly =false;

this.getField("Juvenile Time").readonly =false;

this.getField("Juvenile Disposition").readonly =false;

this.getField("Juvenile Released To").readonly =false;

this.getField("Juvenile Released Date").readonly =false;

this.getField("Juvenile Released Time").readonly =false;

this.getField("Juvenile By Name").readonly =false;

this.getField("Juvenile Reason").readonly =false;

this.getField("Juvenile School Attended").readonly =false;

this.getField("Juvenile Grade").readonly =false;

this.getField("Juvenile Description of Property").readonly =false;

this.getField("Juvenile Value of Property").readonly =false;

this.getField("Juvenile Check Parent").readonly =false;

this.getField("Juvenile Check Legal Custodian").readonly =false;

this.getField("Juvenile Check Other").readonly =false;

this.getField("Juvenile Check Defendant").readonly =false;

this.getField("Juvenile Check Defendant Parents").readonly =false;

this.getField("Juvenile Check Yes 2").readonly =false;

this.getField("Juvenile Check Yes 1").readonly =false;

this.getField("Juvenile Check Yes Property Crime").readonly =false;

this.getField("Juvenile Check No Property Crime").readonly =false;

 

 

Just make sure that both radio buttons are have the same name but chenge the export values. For example, in the first radio button you can leave the export value as "Choice1", and in the second radio button "Choice2".

 

TOPICS
PDF forms

Views

70

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

Radio Buttons and Fillable Text Fields

Community Beginner ,
Nov 11, 2020

Copy link to clipboard

Copied

This is what I am trying to do:

  1. I have 10 text fields which are highlighted blue to show it can be filled in
  2. I have 2 radio buttons, 1st button is for NO and 2nd button is for YES
  3. If you press NO button the 10 text fields are turned off and cannot be filled in and the blue highlight is gone leaving the fields white.
  4. If you press YES button the 10 text fields are turned on and highlighted in blue to show they can now be filled in.

Adobe support tech could not figure out how to turn the 10 text fields on and off. They were only able to turn just 1 text field on or off. After many tries they said it seems as though you can only turn 1 field on or off with 1 radio button. You would need 10 radio buttons to turn the text fields on and off. This makes no sense as Adobe would never design a program that warrants 10 buttons. I requested a higher level tech and was told I could not get one, seriously?

Adobe Community Professional
Correct answer by ls_rbls | Adobe Community Professional

You're missing the curly braces at the end of that script

 

I will suggest that the easiest way to get this to work for a beginner is to copy this code exactly as it is posted below and paste it in the javascript editor for the first radio button:

 

 

this.getField("Juvenile Address").readonly =true;

this.getField("Juvenile Residence Phone").readonly =true;

this.getField("Juvenile Business Phone").readonly =true;

this.getField("Juvenile Notified By").readonly =true;

this.getField("Juvenile Date").readonly =true;

this.getField("Juvenile Time").readonly =true;

this.getField("Juvenile Disposition").readonly =true;

this.getField("Juvenile Released To").readonly =true;

this.getField("Juvenile Released Date").readonly =true;

this.getField("Juvenile Released Time").readonly =true;

this.getField("Juvenile By Name").readonly =true;

this.getField("Juvenile Reason").readonly =true;

this.getField("Juvenile School Attended").readonly =true;

this.getField("Juvenile Grade").readonly =true;

this.getField("Juvenile Description of Property").readonly =true;

this.getField("Juvenile Value of Property").readonly =true;

this.getField("Juvenile Check Parent").readonly =true;

this.getField("Juvenile Check Legal Custodian").readonly =true;

this.getField("Juvenile Check Other").readonly =true;

this.getField("Juvenile Check Defendant").readonly =true;

this.getField("Juvenile Check Defendant Parents").readonly =true;

this.getField("Juvenile Check Yes 2").readonly =true;

this.getField("Juvenile Check Yes 1").readonly =true;

this.getField("Juvenile Check Yes Property Crime").readonly =true;

this.getField("Juvenile Check No Property Crime").readonly =true;

 

 

Then do the same procedure for this other code; copy and paste it in the other radio button:

 

 

this.getField("Juvenile Address").readonly =false;

this.getField("Juvenile Residence Phone").readonly =false;

this.getField("Juvenile Business Phone").readonly =false;

this.getField("Juvenile Notified By").readonly =false;

this.getField("Juvenile Date").readonly =false;

this.getField("Juvenile Time").readonly =false;

this.getField("Juvenile Disposition").readonly =false;

this.getField("Juvenile Released To").readonly =false;

this.getField("Juvenile Released Date").readonly =false;

this.getField("Juvenile Released Time").readonly =false;

this.getField("Juvenile By Name").readonly =false;

this.getField("Juvenile Reason").readonly =false;

this.getField("Juvenile School Attended").readonly =false;

this.getField("Juvenile Grade").readonly =false;

this.getField("Juvenile Description of Property").readonly =false;

this.getField("Juvenile Value of Property").readonly =false;

this.getField("Juvenile Check Parent").readonly =false;

this.getField("Juvenile Check Legal Custodian").readonly =false;

this.getField("Juvenile Check Other").readonly =false;

this.getField("Juvenile Check Defendant").readonly =false;

this.getField("Juvenile Check Defendant Parents").readonly =false;

this.getField("Juvenile Check Yes 2").readonly =false;

this.getField("Juvenile Check Yes 1").readonly =false;

this.getField("Juvenile Check Yes Property Crime").readonly =false;

this.getField("Juvenile Check No Property Crime").readonly =false;

 

 

Just make sure that both radio buttons are have the same name but chenge the export values. For example, in the first radio button you can leave the export value as "Choice1", and in the second radio button "Choice2".

 

TOPICS
PDF forms

Views

71

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
Nov 11, 2020 0
Adobe Community Professional ,
Nov 11, 2020

Copy link to clipboard

Copied

This is handle with Acrobat JavaScripting, not with the Adobe Acrobat's "Show/Hide" built-in feature. So technical support is correct in saying that you're only limited with one selection only but it from the picklist that is offered to the user when they opt to use the "Show/Hide" feature.  They're not correct in suggesting that you need one radio button per each textfield that you want to show or hide.

 

You can achive this with a custom script and use it as a Mouse-up event action. To do so you need to name both radio button fields with the same field name but assigned them with a different export value.

 

Then add a script in the first radio button that will keep every field visible and in the other button add the same script to make them hidden.

 

This is by far the easiest way with some basic JavaScript knowledge.

 

 

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
Reply
Loading...
Nov 11, 2020 0
Contributor ,
Nov 11, 2020

Copy link to clipboard

Copied

I think OP wants to make them read only and change background colors not show/hide them.

Although you can use 1 radio button to show/hide multiple fields, just click on add and select 1 field then click again and select another ...etc

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
Reply
Loading...
Nov 11, 2020 0
Community Beginner ,
Nov 11, 2020

Copy link to clipboard

Copied

I tried doing that by clicking ADD 4 time for 4 different fields and it
only worked for 1 of the fields. Makes no sense. Perhaps it really does
need javascript.

--
*Lance Brown*
150 Lake Carol Drive
West Palm Beach, FL 33411
T. (561) 686-9679
E. lancebrown13@gmail.com

*(This e-mail was checked by McAfee Virus Scan)*

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
Reply
Loading...
Nov 11, 2020 0
Contributor ,
Nov 11, 2020

Copy link to clipboard

Copied

So you want to show/hide or make them readonly? 

If you want to show/hide the above advice should work unless you have something else in your file that interfere with it. If you want to make them readonly use this code as mouseup event in radio button, 

To make them readonly:

this.getField("Juvenile Name").readonly =true;

Change true to false for second button and repeat with other field names. 

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
Reply
Loading...
Nov 11, 2020 0
Adobe Community Professional ,
Nov 11, 2020

Copy link to clipboard

Copied

Good catch Asim... thank you!

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
Reply
Loading...
Nov 11, 2020 0
Adobe Community Professional ,
Nov 11, 2020

Copy link to clipboard

Copied

Asim is correct. You don't have the read-only option doing this methos, but if you need to hide them or make visible,  You need to click on the "Add" buton each time and select the next fieldname from the pick list.

 

The problem with this method is that is not an integrated feature. So if you have 100 textfields you have to do this manually for a 100 fields that you want to hide with one radio button , and then repeat this process for another hundred textfields in the other radio button that will make them visible.

 

See slide:

moreradiostuff.png

I would say though to add the custom calculation script script as a mouse-up action as explained by Try67.

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
Reply
Loading...
Nov 11, 2020 0
Community Beginner ,
Nov 11, 2020

Copy link to clipboard

Copied

So I just need to paste this into the javascript field?
What about the lines I put in RED, does that look ok?
Also, the ones that are TRUE go into button 1
The ones that are FALSE go into button 2

This is so new to me. How did you even find the code to do this.

Very much appreciated. I am a disabled veteran doing this for the police
department as a volunteer. I do not get paid for this. Just a thank you
will do.

*BUTTON 1*


*if (this.getField("Radio1").valueAsString=="NO") { *this.getField("Juvenile
Name").readonly =true;

this.getField("Juvenile Address").readonly =true;

this.getField("Juvenile Residence Phone").readonly =true;

this.getField("Juvenile Business Phone").readonly =true;

this.getField("Juvenile Notified By").readonly =true;

this.getField("Juvenile Date").readonly =true;

this.getField("Juvenile Time").readonly =true;

this.getField("Juvenile Disposition").readonly =true;

this.getField("Juvenile Released To").readonly =true;

this.getField("Juvenile Released Date").readonly =true;

this.getField("Juvenile Released Time").readonly =true;

this.getField("Juvenile By Name").readonly =true;

this.getField("Juvenile Reason").readonly =true;

this.getField("Juvenile School Attended").readonly =true;

this.getField("Juvenile Grade").readonly =true;

this.getField("Juvenile Description of Property").readonly =true;

this.getField("Juvenile Value of Property").readonly =true;

this.getField("Juvenile Check Parent").readonly =true;

this.getField("Juvenile Check Legal Custodian").readonly =true;

this.getField("Juvenile Check Other").readonly =true;

this.getField("Juvenile Check Defendant").readonly =true;

this.getField("Juvenile Check Defendant Parents").readonly =true;

this.getField("Juvenile Check Yes 2").readonly =true;

this.getField("Juvenile Check Yes 1").readonly =true;

this.getField("Juvenile Check Yes Property Crime").readonly =true;

this.getField("Juvenile Check No Property Crime").readonly =true;

*} else {*

===================================

*BUTTON 2*


*if (this.getField("Radio2").valueAsString=="YES") { *this.getField("Juvenile
Name").readonly =false;

this.getField("Juvenile Address").readonly =false;

this.getField("Juvenile Residence Phone").readonly =false;

this.getField("Juvenile Business Phone").readonly =false;

this.getField("Juvenile Notified By").readonly =false;

this.getField("Juvenile Date").readonly =false;

this.getField("Juvenile Time").readonly =false;

this.getField("Juvenile Disposition").readonly =false;

this.getField("Juvenile Released To").readonly =false;

this.getField("Juvenile Released Date").readonly =false;

this.getField("Juvenile Released Time").readonly =false;

this.getField("Juvenile By Name").readonly =false;

this.getField("Juvenile Reason").readonly =false;

this.getField("Juvenile School Attended").readonly =false;

this.getField("Juvenile Grade").readonly =false;

this.getField("Juvenile Description of Property").readonly =false;

this.getField("Juvenile Value of Property").readonly =false;

this.getField("Juvenile Check Parent").readonly =false;

this.getField("Juvenile Check Legal Custodian").readonly =false;

this.getField("Juvenile Check Other").readonly =false;

this.getField("Juvenile Check Defendant").readonly =false;

this.getField("Juvenile Check Defendant Parents").readonly =false;

this.getField("Juvenile Check Yes 2").readonly =false;

this.getField("Juvenile Check Yes 1").readonly =false;

this.getField("Juvenile Check Yes Property Crime").readonly =false;

this.getField("Juvenile Check No Property Crime").readonly =false;

*} else {*

===================================

--
*Lance Brown*
150 Lake Carol Drive
West Palm Beach, FL 33411
T. (561) 686-9679
E. lancebrown13@gmail.com

*(This e-mail was checked by McAfee Virus Scan)*

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
Reply
Loading...
Nov 11, 2020 0
Adobe Community Professional ,
Nov 11, 2020

Copy link to clipboard

Copied

Same section that you were using before, but instead of using the Show/Hide feature select from the dropdown list JavaScript.

 

Above that dropdown is another dropdown, Make sure you select "Mouse-Up" action.

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
Reply
Loading...
Nov 11, 2020 0
Community Beginner ,
Nov 11, 2020

Copy link to clipboard

Copied

Does this look correct? } else {
goes at the very end
and
if (this.getField("Radio1").valueAsString=="NO") {
goes on top of the first line of code


*BUTTON 1*


*if (this.getField("Radio1").valueAsString=="NO") { *

*} else {*

*BUTTON 2*


*if (this.getField("Radio2").valueAsString=="YES") { *

*} else {*

--
*Lance Brown*
150 Lake Carol Drive
West Palm Beach, FL 33411
T. (561) 686-9679
E. lancebrown13@gmail.com

*(This e-mail was checked by McAfee Virus Scan)*

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
Reply
Loading...
Nov 11, 2020 0
Community Beginner ,
Nov 11, 2020

Copy link to clipboard

Copied

I pasted the code into the java box and got the following error:

SyntaxError: missing } in compound statement
29: at line 30

Last 2 lines of code are:
Property Crime") .readonly =true;
} else {

--
*Lance Brown*
150 Lake Carol Drive
West Palm Beach, FL 33411
T. (561) 686-9679
E. lancebrown13@gmail.com

*(This e-mail was checked by McAfee Virus Scan)*

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
Reply
Loading...
Nov 11, 2020 0
Most Valuable Participant ,
Nov 11, 2020

Copy link to clipboard

Copied

No. Use the same code under both fields, with both sections in it.

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
Reply
Loading...
Nov 11, 2020 0
Adobe Community Professional ,
Nov 11, 2020

Copy link to clipboard

Copied

You're missing the curly braces at the end of that script

 

I will suggest that the easiest way to get this to work for a beginner is to copy this code exactly as it is posted below and paste it in the javascript editor for the first radio button:

 

 

this.getField("Juvenile Address").readonly =true;

this.getField("Juvenile Residence Phone").readonly =true;

this.getField("Juvenile Business Phone").readonly =true;

this.getField("Juvenile Notified By").readonly =true;

this.getField("Juvenile Date").readonly =true;

this.getField("Juvenile Time").readonly =true;

this.getField("Juvenile Disposition").readonly =true;

this.getField("Juvenile Released To").readonly =true;

this.getField("Juvenile Released Date").readonly =true;

this.getField("Juvenile Released Time").readonly =true;

this.getField("Juvenile By Name").readonly =true;

this.getField("Juvenile Reason").readonly =true;

this.getField("Juvenile School Attended").readonly =true;

this.getField("Juvenile Grade").readonly =true;

this.getField("Juvenile Description of Property").readonly =true;

this.getField("Juvenile Value of Property").readonly =true;

this.getField("Juvenile Check Parent").readonly =true;

this.getField("Juvenile Check Legal Custodian").readonly =true;

this.getField("Juvenile Check Other").readonly =true;

this.getField("Juvenile Check Defendant").readonly =true;

this.getField("Juvenile Check Defendant Parents").readonly =true;

this.getField("Juvenile Check Yes 2").readonly =true;

this.getField("Juvenile Check Yes 1").readonly =true;

this.getField("Juvenile Check Yes Property Crime").readonly =true;

this.getField("Juvenile Check No Property Crime").readonly =true;

 

 

Then do the same procedure for this other code; copy and paste it in the other radio button:

 

 

this.getField("Juvenile Address").readonly =false;

this.getField("Juvenile Residence Phone").readonly =false;

this.getField("Juvenile Business Phone").readonly =false;

this.getField("Juvenile Notified By").readonly =false;

this.getField("Juvenile Date").readonly =false;

this.getField("Juvenile Time").readonly =false;

this.getField("Juvenile Disposition").readonly =false;

this.getField("Juvenile Released To").readonly =false;

this.getField("Juvenile Released Date").readonly =false;

this.getField("Juvenile Released Time").readonly =false;

this.getField("Juvenile By Name").readonly =false;

this.getField("Juvenile Reason").readonly =false;

this.getField("Juvenile School Attended").readonly =false;

this.getField("Juvenile Grade").readonly =false;

this.getField("Juvenile Description of Property").readonly =false;

this.getField("Juvenile Value of Property").readonly =false;

this.getField("Juvenile Check Parent").readonly =false;

this.getField("Juvenile Check Legal Custodian").readonly =false;

this.getField("Juvenile Check Other").readonly =false;

this.getField("Juvenile Check Defendant").readonly =false;

this.getField("Juvenile Check Defendant Parents").readonly =false;

this.getField("Juvenile Check Yes 2").readonly =false;

this.getField("Juvenile Check Yes 1").readonly =false;

this.getField("Juvenile Check Yes Property Crime").readonly =false;

this.getField("Juvenile Check No Property Crime").readonly =false;

 

 

Just make sure that both radio buttons are have the same name but chenge the export values. For example, in the first radio button you can leave the export value as "Choice1", and in the second radio button "Choice2".

 

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
Reply
Loading...
Nov 11, 2020 0
Community Beginner ,
Nov 11, 2020

Copy link to clipboard

Copied

OMG that actually worked. I have been trying that for days and went through
3 adobe support techs. You should work for adobe.

Button 2 worked perfect but button 1 turned all the fields off except
Juvenile Name field. I am afraid to add that because I am not sure where to
put it. Can you just add that to button one Juvenile Name and I will
repaste it.

Thank you again,
If your ever in Florida I owe you dinner.

--
*Lance Brown*
150 Lake Carol Drive
West Palm Beach, FL 33411
T. (561) 686-9679
E. lancebrown13@gmail.com

*(This e-mail was checked by McAfee Virus Scan)*

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
Reply
Loading...
Nov 11, 2020 0
Adobe Community Professional ,
Nov 11, 2020

Copy link to clipboard

Copied

Just add this line to the list of fields that you already copied to radio button 1:

 

this.getField("JuvenileName").readonly = true;

 

And this line to the list that you already opied to radio button 2:

 

this.getField("JuvenileName").readonly =false;

 

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
Reply
Loading...
Nov 11, 2020 0
Community Beginner ,
Nov 11, 2020

Copy link to clipboard

Copied

It is now working just the way it should. 4,000 cops will appreciate it and
so will the State Attorney when they get the form. Cannot thank you enough.

Lance

--
*Lance Brown*
150 Lake Carol Drive
West Palm Beach, FL 33411
T. (561) 686-9679
E. lancebrown13@gmail.com

*(This e-mail was checked by McAfee Virus Scan)*

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
Reply
Loading...
Nov 11, 2020 0
Adobe Community Professional ,
Nov 11, 2020

Copy link to clipboard

Copied

You're very welcome.

 

Full credit to Try67 and everyone else whoe stepped in and helped too.

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
Reply
Loading...
Nov 11, 2020 0
Community Beginner ,
Nov 12, 2020

Copy link to clipboard

Copied

Sorry, just one more question. The cops are complaining about this. When
they open the form on their laptop in the police car the form opens showing
the thumbnail screen on the left side and the tools screen on the right
side. How can I turn these off permanently so they do not open when opening
the form. Not temporary but permanent.

Thank you again,
Lance

--
*Lance Brown*
150 Lake Carol Drive
West Palm Beach, FL 33411
T. (561) 686-9679
E. lancebrown13@gmail.com

*(This e-mail was checked by McAfee Virus Scan)*

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
Reply
Loading...
Nov 12, 2020 0
Most Valuable Participant ,
Nov 12, 2020

Copy link to clipboard

Copied

If by "thumbnail screen" you mean the Pages panel on the left then you can change the file's Initial View properties to only show the page. You'll find it under File - Properties - Initial View - Navigation Tab.

The Tools panel can't be hidden from within your file, but they can change the preferences in the application to hide it by default. See: https://helpx.adobe.com/acrobat/kb/disable-right-hand-pane-in-acrobat-reader.html

 

PS. Do no reply by email! It includes your full contact details, which you should not be posting to a public forum.

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
Reply
Loading...
Nov 12, 2020 0
Community Beginner ,
Nov 12, 2020

Copy link to clipboard

Copied

Yes that worked. Thank you once again.

Lance

--
*Lance Brown*
150 Lake Carol Drive
West Palm Beach, FL 33411
T. (561) 686-9679
E. lancebrown13@gmail.com

*(This e-mail was checked by McAfee Virus Scan)*

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
Reply
Loading...
Nov 12, 2020 0
Most Valuable Participant ,
Nov 11, 2020

Copy link to clipboard

Copied

Basically you can do it with something like this script (use it as the custom calculation script of one of the text fields, or a separate one, it can be hidden, if you wish):

 

if (this.getField("Radio1").valueAsString=="YES") {
this.getField("Text1").readonly = false;

this.getField("Text2").readonly = false;

this.getField("Text3").readonly = false;

} else {

this.getField("Text1").readonly = true;

this.getField("Text2").readonly = true;

this.getField("Text3").readonly = true;

this.resetForm(["Text1", "Text2", "Text"]);

}

 

Adjust the field names as needed.

 

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
Reply
Loading...
Nov 11, 2020 0
Adobe Community Professional ,
Nov 11, 2020

Copy link to clipboard

Copied

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
Reply
Loading...
Nov 11, 2020 0
Community Beginner ,
Nov 11, 2020

Copy link to clipboard

Copied

That is exactly what I am trying to do. When you click one button all 28
fields will lose the blue highlighting and cannot be filled in. When you
click the other button all the fields will get back the blue highlight and
be able to be filled in. I do not have the javascript but I know where to
put it. I have never did this before so it is all strange to me. This is
actually part of a police arrest form. If the arrest is juvenile then I
need these buttons to work. If the arrest is for adults I need to turn off
the juvenile fields.

Any help would be greatly appreciated. Adobe support said their method
would only turn off and on just one field that I would need 28 ON buttons
and 28 OFF buttons which is insane.

The names of the 28 fields are:

Juvenile Name
Juvenile Address
Juvenile Residence Phone
Juvenile Business Phone
Juvenile Notified By
Juvenile Date
JuvenileTime
Juvenile Disposition
Juvenile Released To
Juvenile Released Date
Juvenile Released Time
Juvenile By Name
Juvenile Reason
Juvenile School Attended
Juvenile Grade
Juvenile Description of Property
Juvenile Value of Property
Juvenile Check Parent - (Check Box)
Juvenile Check Legal Custodian - (Check Box)
Juvenile Check Other - (Check Box)
Juvenile Check Defendant - (Check Box)
Juvenile Check Defendant Parents - (Check Box)
Juvenile Check Yes 2 - (Check Box)
Juvenile Check Yes 1 - (Check Box)
Juvenile Check Yes Property Crime - (Check Box)
Juvenile Check No Property Crime - (Check Box)

--
*Lance Brown*
150 Lake Carol Drive
West Palm Beach, FL 33411
T. (561) 686-9679
E. lancebrown13@gmail.com

*(This e-mail was checked by McAfee Virus Scan)*

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
Reply
Loading...
Nov 11, 2020 0
Adobe Community Professional ,
Nov 12, 2020

Copy link to clipboard

Copied

In your fields names you should replace the blank space by a dot:

Juvenile.address
Juvenile.residence

Juvenile.phone

etc.

 

So you can reuse my 4 lines script just by replacing "text" by "Juvenile".
It can manage 10, 28 or as much fields as you want at the same time.

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
Reply
Loading...
Nov 12, 2020 0
Community Beginner ,
Nov 12, 2020

Copy link to clipboard

Copied

Thank you for that. Very much appreciated.

[REMOVED]

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
Reply
Loading...
Nov 12, 2020 1
Community Beginner ,
Nov 24, 2020

Copy link to clipboard

Copied

I can use your help regarding the Arrest Form you helped me with.
In my laptop the fields that have a dropdown field work fine.
When I send it to the police laptop in the police car which uses acrobat pro dc reader the dropdowns do not work.
Makes no sense. Why does it work in my laptop at home but not in the laptop in the police car.
Not sure if I am explaining this correctly.
Any suggestions?
Lance

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
Reply
Loading...
Nov 24, 2020 0
Adobe Community Professional ,
Nov 24, 2020

Copy link to clipboard

Copied

Maybe  when they receive the form and open it in Adobe Reader DC  they need to click on the tooltip banner that appears under the toolbar the first time and select enable all features and trust the document before thay're able  to use this PDF.

 

 

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
Reply
Loading...
Nov 24, 2020 0
Community Beginner ,
Nov 24, 2020

Copy link to clipboard

Copied

I do not seem to be able to find anything that looks like a banner in acrobat reader dc.
At the top is the menu: File - Edit - View - Window - Help
Under that is the tool bar with all the icons.
Is there another way of enabling all the features?

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
Reply
Loading...
Nov 24, 2020 0
Adobe Community Professional ,
Nov 24, 2020

Copy link to clipboard

Copied

If you distributed or shared this file through the Internet (via email, or shared via cloud service),  it may be possible that the first time that they open the file from their laptops, Adobe Reader DC will show  a banner like the slide below with Protected View enabled:

 

arrestform.png

Note: Credit to Adobe Community Professional , Thom Parker. In the slide that I've used as an example above I am trying to open a tutorial on how to create custom dialogue boxes with Adobe Acrobat.that I downloaded from a link in Acrobatuser.com.

 

 

 

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
Reply
Loading...
Nov 24, 2020 0
sbc707 LATEST
Community Beginner ,
Nov 24, 2020

Copy link to clipboard

Copied

Sorry but I don't see Adobe Reader DC banner like the slide below with
Protected View enable. I assume you attached a slide but I don't see it.
I'm new at this.

[PERSONNAL DATA REMOVED]

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
Reply
Loading...
Nov 24, 2020 0