Skip to main content
gamzes93533812
Known Participant
Feb 15, 2018 10:02 AM UTC
Question

function to change the color of a text field

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 is closed to new replies. Start a new post to keep the conversation going.

11 replies

Bernd Alheit
Community Expert
Community Expert
Feb 15, 2018 10:34 AM UTC

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

Translate
gamzes93533812
Known Participant
Feb 15, 2018 10:38 AM UTC

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

Translate
Bernd Alheit
Community Expert
Community Expert
Feb 15, 2018 11:10 AM UTC

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

Translate