The mgiStop Tag

Tag Behavior

Use the mgiStop tag to stop all processing of MGI code on a page. All other code (HTML, etc.) on the page continues to be processed. (see also mgiAbort)


Tag Syntax

The mgiStop tag has no required parameters and no optional parameters. The tag form is:

<mgiStop>

Required Parameters:

  • None.

Optional Parameters:

  • None.


Example Usage and Output

<mgiIf lhs={mgiGet name="Products"} relationship="isEmpty">
<mgiStop>
</mgiIf>

In this example, an mgiStop tag is used in conjunction with a conditional comparison to stop the processing of shopping basket tags when the shopping basket is empty.


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]