Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

How to change the color of checkbox

Avatar

Level 7

Hi,

I want to change the color of the border of the checkbox (Square shape). How do I do it. I see control to change the color but all are changing the fonts. I want to change the border/edge of the rectangular box that I check.

Regards

Sunil

1 Accepted Solution

Avatar

Correct answer by
Level 10

It can be done as metioned in the thread above.

Here's a sample for you.

https://workspaces.acrobat.com/?d=YZazpiJgxQPoZEWtbvA-UQ

View solution in original post

6 Replies

Avatar

Level 7

In Object > Field change Appearance to Custom... you won't be able to change the colour of a 3D box but if you change the line type to solid you can then pick a colour.

Avatar

Level 7

Hi,

Thanks for prompt reply. I dont want to change the color of the border. I want to change the color of the "check style" / X mark inside the checkbox. I dont see any custom "check style" so that i can change the color.

Regards

Avatar

Level 7

I still didnt find answe. I want to chang the color of the stroke (X) sign in checkbox.

as you can see red cross in attached image. I dont want to change edge or border of the checkbox. How do i bring red cross when user selects a check box.

checkbox cross.jpg

Regads
Sunil

Avatar

Correct answer by
Level 10

It can be done as metioned in the thread above.

Here's a sample for you.

https://workspaces.acrobat.com/?d=YZazpiJgxQPoZEWtbvA-UQ

Avatar

Level 7

Thank you Radzmar, I could do it. I also tried with this script and it worked fine.

this.font.fill.color.value="255,0,0";

I also change the xml, and it worked well.

<font>

     <fill>

          <color value="255,0,0" />

     </fill>

</font>