Expand my Community achievements bar.

Highlight required fields via script...

Avatar

Former Community Member
Does anyone know how to highlight all of the required fields via script?

Acrobat displays a checkbox for highlighting required fields, but it

is unchecked by default and the user has to click it each time they open

the document. I have yet to see a way to set it as a preference in

Acrobat or Reader and I don't see any way to enable this via an

initialize script either.



Any ideas?
2 Replies

Avatar

Former Community Member
Justin,



This line should work...

app.runtimeHighlight = true;



I try using it in the initialize event for the page but the results are inconsistent. I am having other issues so we left this one alone for the moment. If you get it to work consistently please let me know.



- Yolanda

Avatar

Former Community Member
yolanda_torres@adobeforums.com wrote:

> Justin,

>

> This line should work...

> app.runtimeHighlight = true;

>

> I try using it in the initialize event for the page but the results are inconsistent. I am having other issues so we left this one alone for the moment. If you get it to work consistently please let me know.

>

> - Yolanda



Yolanda,

This highlights ALL fields. I want to highlight only the required

fields.



Justin