Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

change form highlight color

Avatar

09-09-2008

Hi,

Is it possible to change the highlight color of the form through the form itself, not through the preference | form setting of the Adobe Reader.



Also, how to highlight only those fields that is mandatory and is not filled in?



Thanks.

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

10-09-2008

Yes you can control the highlight color. It is an acroForm setting and not in XFA but you can access it through the XFA side. the command you want is:



app.runtimeHighlightColor = "RGB value"



If the field is mark as required then it will be highlighted in Red by default.

Avatar

10-09-2008

Hi,

Thank you Paul. Is there a document or web site that have reference to the acroForm commands, properties or setting?

Avatar

10-09-2008

Hi,

I tried setting app.runtimeHighlightColor=[RGB,0.22,0.22,0.22] , it changes the color of the field value area. How can I change color of the red box for those field that is set to required. Thanks.

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

10-09-2008

There is a setting in the properties but it is not exposed in the Javascript (that I can see anyways). I got those commands in the Acrobat JavaScript reference.

Avatar

11-09-2008

Does it means that the setting of the red box for those required field cannot be set in LC designer? Thanks.

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

12-09-2008

I have not found a way

Avatar

Avatar
Level 1
BartBartosz
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
BartBartosz
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
BartBartosz
Level 1

29-07-2013

I was wondering if anyone found a way to change the red outline for mandatory fields in LCD ES2.
Thanks a lot!

Avatar

Avatar
Level 1
OOlala_28
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
OOlala_28
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
OOlala_28
Level 1

15-10-2013

Hi,

Where do I place this piece of code exactly?

Thanks!