Answered
Hello,
I have a textfield (call it Textfield1) that is setup as non-mandatory field. When I open the form in preview, and highlight the field, there is no red border. (the red border appears on the fields that are set to be required field.)
I would like to create a button. when a user click on the button, it will make the Textfield1 as a required field. and thus, a user will see a red border on the Textfield1.
I appreciate your help.
thanks,
Boon
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script