Answered
Hi All,
I am new to Javascript and am trying to make a field required based on a radio button selection. Can someone point me in the right direction? I have searched through the posting but don't find anything close enough that I can understand and therefore copy. Thanks much!!
This is the basic way to make a field required. It checks for field values that are null and generate a warning and cancel form submission. This requires form rights for it to work in Reader.
I prefer a bit more control over field validation, so I write scripts specific to the type of information required.
Here's a great starting point:
http://www.adobe.com/devnet/acrobat/pdfs/js_api_reference.pdf