The mgiAbort Tag
Tag Behavior
Use the mgiAbort tag completely stops the processing of the
page including MGI tags, text and HTML. When the mgiAbort tag
is processed by MGI, any part of the page processed prior to
the mgiAbort tag is served to the browser. (see also mgiStop)
Tag Syntax
The mgiAbort tag has no required parameters and no optional
parameters. The tag form is:
<mgiAbort>
Required Parameters:
Optional Parameters:
Example Usage and Output
<mgiIf lhs={mgiGet name="Errors"} relationship="isNotEmpty">
</BODY>
</HTML>
<mgiAbort>
</mgiIf>
In this example, the mgiAbort tag is used to abort a page
after checking for errors using a conditional statement. Notice
that ending Body and HTML elements are entered before the mgiAbort
tag since the mgiAbort tags stops all processing of the page
which may affect how the browser displays the information.
Suggested Usage
|