method Attribute
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

method Attribute

Office 2003

Specifies the HTTP method to use for the submit operation.

Type

    xsd:NMTOKEN
  

Remarks

The method attribute is a required attribute of the useHttpHandler element.

The only supported value is "POST".

Example

The following is an example of the method attribute as it is used by 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>

  


Parent Objects | useHttpHandler Element


Show:
© 2016 Microsoft