Export (0) Print
Expand All
Expand Minimize

useHttpHandler Element

Office 2007

Specifies that the form is to be submitted to the specified Uniform Resource Locator (URL) using the specified HTTP method.

Type

xsd:complexType

Structure

NameDescription
href(Required attribute) Specifies the URL to which the form should be submitted.
method(Required attribute) Specifies the HTTP method to use for the submit operation.

Remarks

The useHttpHandler element is an optional element of the submit element.

Example

The following is an example of the useHttpHandler element:

<xsf:submit
   caption="Su&amp;bmit"
   disableMenuItem="no"
   onAfterSubmit="KeepOpen"
   showStatusDialog="yes"
   showSignatureReminder="yes">
   <xsf:useHttpHandler>
      href="http://MyServer/InfoPathScripts/MyScript.asp"
      method="POST"
   </xsf:useHttpHandler>
   <xsf:successMessage>Submit was successful.</xsf:successMessage>
   <xsf:errorMessage>Submit was not successful.</xsf:errorMessage>
</xsf:submit>


Community Additions

ADD
Show:
© 2015 Microsoft