# disableMenuItem Attribute

Specifies whether the menu item for the submit operation should be disabled.

## Type

    xsf:xdYesNo

## Remarks

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

Allowed values are "yes" and "no". The default value is "no".

## Example

The following is an example of the disableMenuItem 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>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp