This documentation is archived and is not being maintained.

showStatusDialog Attribute

Office 2007

Specifies whether the status dialog box should be shown after the submit operation.

Type

xsf:xdYesNo

Remarks

The showStatusDialog attribute is an optional attribute of the submit element.

Values include "yes" and "no". The default values is "yes".

If the showStatusDialog attribute is set to "yes" and no custom messages are defined (using the errorMessage or successMessage elements), then the Microsoft Office InfoPath 2007 default submit messages are displayed.

Example

The following is an example of the showStatusDialog attribute as it is used in the submit element:

<xsf:submit
   caption="Su&amp;bmit"
   disableMenuItem="no"
   onAfterSubmit="KeepOpen"
   showStatusDialog="yes"
   showSignatureReminder="yes">
   <xsf:useScriptHandler/>
   <xsf:successMessage>Submit was successful.</xsf:successMessage>
   <xsf:errorMessage>Submit was not successful.</xsf:errorMessage>
</xsf:submit>


Show: