Skip to main content
Participating Frequently
March 18, 2020
Question

Change border color on check box upon selection?

  • March 18, 2020
  • 2 replies
  • 600 views

 

Is there a way to make these three options checkboxes, and have the one selected change to a thicker, red border only when selected?

This topic has been closed for replies.

2 replies

Thom Parker
Community Expert
Community Expert
March 18, 2020

How about make them buttons. Then add a hidden text field to save/control the state. 

 To get started, watch the "Form Scripting Basics" video here:

https://www.pdfscripting.com/public/Free_Videos.cfm#JSIntro

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
try67
Community Expert
Community Expert
March 18, 2020

You can add check-boxes next to them, but if you want the actual boxes to act this one you would need to use buttons and a custom-made script to "select" and "unselect" them when the user clicks them.