


I'm testing my form with several users. I have one user reporting that when she opens my form in Adobe Acrobat DC, the red boxes around the mandatory fields show right away, instead of when she clicks the check form button I have on the form. None of the other users are seeing this. Does anyone know a fix?
Now you see me, now you don’t.
Interactive forms highlight where you should enter data. To turn this highlighting on, click the Highlight Existing Fields button.
The fillable fields within the form (see example below) are highlighted in a light blue color. This lets you enter information into these fields. By default, Adobe® Reader® displays a red border around required fields. Pretty dang ugly, huh?
Fortunately, it can be turned off. This script (placed on a form:ready event) will do the trick:
if (xfa.host.name == "Acrobat")
Here’s how we achieve this:
Part 1:
In the Object palette, click the Value tab. Under Type, choose User Entered – Required.
Note: To show or hide the Script Editor window as you need it, click the toggle.
if (xfa.host.name == "Acrobat") app.runtimeHighlight = false;
Part 2:
Click Color Failed Fields. Check the box next to Color fields and fail their validations.
The result? When the user tries to submit a form without first entering data into the required fields, an alert message is displayed.
When the user clicks OK to clear the error message, form submission is cancelled.
Failed fields are highlighted in an attractive way—without red borders.
How do you remove or change red border in Livecycle required