So, having a text field contain that error message might be a good idea.
There are other ways to highlight the field in question besides changing the text color, the border color or the fill color could be changed instead, or in addition, just make sure that you are not making the form impossible to read.
One of the questions I get asked again and again is how to validate a field value in an Acro Form with a custom validation script.
Adobe provided a lot of infrastructure to do that with just a simple script.
For numeric fields, there is a convenient way to validate a value range, but we want to select to run a custom validation script.
After the “Edit” button is clicked, a new window will open that allows us to edit the new script: As I mentioned before, information is passed to the validation function in the event object, and in the code we see that the member ‘value’ is used to communicate the current value of the field.