JavaScript to Turn Off Form Field Borders when Document is Printed
I am doing a massive overhaul of our forms for my job, and I have written several scripts to lock all fields when a button is pressed or to automatically insert today's date in a field so the user cannot backdate the form, but I am wondering if I could write a script that turns the borders of my form fields off when the document is printed. I need to keep the borders so that users who open the forms in Adobe Reader can see the fields, but I don't love the look of that when the document is printed. I would also love for the borders to turn back on after printing.
I only have basic Java/JavaScript knowledge, and most of the scripts I've "written" have been adapted from various responses I've seen posted here. I'd love some feedback on this particular issue!
