The mgiDoNotProcess Tag

Tag Behavior

Use the mgiDoNotProcess tag to prevent the MGI code within the body from being processed. The code in the body of the mgiDoNotProcess tag is not removed from the page before it is served. (see also mgiInlineDoNotProcess and mgiComment)

Tag Syntax

The mgiDoNotProcess tag has a beginning tag with no required parameters and no optional parameters, a body, and an ending tag. The tag form is:

MGI Code and Text

Required Parameters:

  • None.

Optional Parameters:

  • None.

Example Usage and Output

<mgiModifyDatabase mode="deleteRecord" databaseName="Scores" 
keyfieldName="ID" fieldValue={mgiPostArgument name="ID"}>

The mgiDoNotProcess tag prevents the MGI code in it's body from being processed, BUT the MGI tags are not removed from the page and are therefore viewable in the page source. In this example, the mgiDoNotProcess tag is used to deactivate a portion of MGI code during site development.

Suggested Usage

  • Dynamic Forms
  • Conditional Comparisons
  • Site Development and Testing

[Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]

[MGI Guides Main Menu] [User Guide Main Menu]