CreateSubmitFormAction
IPDFDocument4 :: Actions

See Also
Collapse All

This method creates an action for submitting PDF form fields.

Syntax

LONG CreateSubmitFormAction (
BSTR url,
VARIANT_BOOL sendEmptyFields,
SubmitMethod submitMethod
)
Parameters
url
Destination of the submitted form

sendEmptyFields
Specifies whether to send empty form fields

submitMethod
Method used to submit the form

Return value
Number of the action

Remarks

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 OnOpenDocumentOnControlMouseDown and other properties (see Annotations).

See the AddControlToAction method for examples.

See Also

Reference