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:
<mgiDoNotProcess>
MGI Code and Text
</mgiDoNotProcess>
Required Parameters:
Optional Parameters:
Example Usage and Output
<mgiDoNotProcess>
<mgiModifyDatabase mode="deleteRecord" databaseName="Scores"
keyfieldName="ID" fieldValue={mgiPostArgument name="ID"}>
</mgiDoNotProcess>
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
|