Skip to main content
Participant
April 28, 2016
Question

Can I set the eform that let adobe reader not highlight the field?

  • April 28, 2016
  • 1 reply
  • 293 views

My Question is when I finish the eform on Acrobat. Can any set up make the adobe reader not highlight the field?

This topic has been closed for replies.

1 reply

Inspiring
April 28, 2016

It is possible with JavaScript to control whether field highlighting is active, but it's considered bad form to alter a user's preference setting without letting them know or at least attempting to restore the settings when the controlling document closed. Here is some code you can use in a document-level JavaScript that executes when the document is opened:

var bRTH = app.runtimeHighlight;  // Store the current field highlighting setting

app.runtimeHighlight = false;  // Turn off field highlighting

Then, in the Document Will Close event, you can restore the setting to the original:

// Restore the field highlighting setting

app.runtimeHighlight = bRTH;