LONG CreateSubmitFormAction ( BSTR url, VARIANT_BOOL sendEmptyFields, SubmitMethod submitMethod ) |
This method creates an action that allows users to submit form field values. A submit-form action transmits the names and values of selected PDF controls to a specified uniform resource locator (URL). The URL is usually the address of a World Wide Web server that processes the data and sends a response.
The return value is an action identifier in the document's actions collection and can be used in OnOpenDocument, OnControlMouseDown and other properties (see Annotations).
See the AddControlToAction method for examples.