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

Highlight fields

Avatar

Avatar
Validate 1
Level 1
pizush
Level 1

Likes

0 likes

Total Posts

21 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
pizush
Level 1

Likes

0 likes

Total Posts

21 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
pizush
Level 1

11-07-2018

Hi

I am using below code (from assure dynamics) to highlight field. This code highlights only one page of the form. I am trying to apply this code for my entire form that has 5 pages. One way may be to place this code in every page. I am trying to avoid it but can't getting there.

// turn highlight on/off depending on what the user clicks

if (this.rawValue == 1)

{

    // turn on the highlight colour

    app.runtimeHighlight = true;

    app.runtimeHighlightColor=["RGB",.8,.84,1];

}

else

{

    app.runtimeHighlight = false;

}

// avoids save dialog on closing form, would not normally use

// this in a production form

     event.target.dirty = false;

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
MVP

11-07-2018

Hi,

It seems to work if you save the form as a static PDF form ... is that an option?

This is probably a glitch in using an Acrobat API with a dynamic PDF form.

This is also updating a user setting, which might not be a good idea if they have set it because of their particular color contrast preferences.

1526349_pastedImage_0.png

Answers (0)