This example fires the execValidate() on the preSave event. If required fields are null, then a warning is displayed. Note that for this example we have not used some of the new features, such as validationState event or the cancelAction method. Therefore it should work satisfactorily in earlier versions of Acrobat/Reader.
Freely reuse our solutions
Solutions are under the Creative Commons Attribution-ShareAlike 3.0 License