Copy link to clipboard
Copied
Hi everyone,
So I'm relatively new to the javascript game and I am creating an editable PDF. All works well, but everytime I try to print the pdf, the list boxes print WITH their blue background even if I set the appearance to no fill and no border. I have spent a couple of hours reading throughout the support community and could not find an answer.
My next solution is just to export the name of the item that has been chosen in the list, but alas the this.getField('fieldname') command has lost me as I can do most such as:
this.getField('fieldname').value
but cannot seem to figure out how to get the actual letters and not the export value (which is a number to be used for calculations).
I tried changing the list to a dropdown menu instead but my script stopped working when I did that (and yes I did update the names to match as well).
Anyone know how to sort out either of these problems?
Copy link to clipboard
Copied
You have to change the underlying layout of the file and remove those colored boxes from it. You don't them since you have the fields highlighting that does the same, only without appearing on the printed copy.
Copy link to clipboard
Copied
It is colored because the nfields are interactive.
Copy link to clipboard
Copied
That response means nothing to the everyday user who is SO frustrated with this issue.
I have created a form from scratch, with 186 "drop-down list boxes" each with only 3 choices, NONE with a colored background, the page is white, the border is NONE, and the background is selected to be white.
So WHY, when I do all or any selections and go to print, are ALL of the boxes background BLUE ???
I created the exact form in WORD and it's NOT blue anywhere !!!
I can't use the WORD form for all the Teachers because WORD will NOT allow me to LOCK out editing or changing anything AND allow text box input and the selection of those drop-downs.
Copy link to clipboard
Copied
I need the backgrounds of all those drop-downs list boxes to be WHITE with black text.
The background of all the regular "text-box" stays white once filled... WHY won't the List-box do the same.
I fully believe it is a DEFAULT of ADOBE's that is absolutely ridulous.
Copy link to clipboard
Copied
This is a setting of each application. Just disable fields highlighting and it will revert to the original colors.
Copy link to clipboard
Copied
Thanks, but, just where in Adobe Acrobat DC Reader do I find "Fields Hightlighting" ??
Copy link to clipboard
Copied
Edit (or the Reader app menu on a Mac) - Preferences - Forms - tick off "Show border hover color for fields". If there's a purple bar that shows when you open a file with fields you can do it there, too.
Copy link to clipboard
Copied
You have to change the underlying layout of the file and remove those colored boxes from it. You don't them since you have the fields highlighting that does the same, only without appearing on the printed copy.
Copy link to clipboard
Copied
Thanks, I decided to rehaul it and write a script that works for dropdown boxes. Also, this is unrelated but thanks for help. Literally every post I read before posting my own had your comment(s) on it that helped out a bunch.
Copy link to clipboard
Copied
What does "change the underlying layout of the file" actually mean?
Turning off the highlight colour in Preferences > Forms doesn't work.
Thanks for your help 🙂
Copy link to clipboard
Copied
Use the Edit Text & Images tool.