Answered
I have created a from with Acrobat professional.Now here is a problem:
When I click submit botton to submit a form, the border of all input fields which with "required" properties become red color even only one field is not filled.
The question is: how to let only the empty field which with "required" properties become red border when I submit the form?
Urgent, waiting online.........
This can all be done with JavaScript. To turn off the form field coloring use the "app.runtimeHighlight" property. Look it up in the Acrobat JavaScript Reference.
Here is an article on colors in Acrobat. It has some example and a sample file:
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/using_colors/
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script