Highlight fields

pizush

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 (0)

Answers (1)

Answers (1)

_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