Skip to main content
gamzes93533812
Known Participant
February 15, 2018
Question

function to change the color of a text field

  • February 15, 2018
  • 1 reply
  • 1397 views

Hi,

I am trying to create in an interactive form (via Acrobat DC).

I would like to employ a mouse on click event to some text (simply to select "AD" and "BC" for a date), on which I intend if user clicks on, then the text will be bold for instance. 

Is there a way to do it without using check box? (ps., I used basic toggle button for instance to test, visually it's okay. BUT when I export "form data" the selection of the button is not exported).

Please see the image I intend to create:

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
February 15, 2018

What color do you want? Bold is not a color.

gamzes93533812
Known Participant
February 15, 2018

sorry, I correct myself. I would like to switch from light brown to dark brown.

Bernd Alheit
Community Expert
Community Expert
February 15, 2018

With JavaScript you can set the property textColor of the text field.