<@IFEMPTY> <@ELSE> </@IF>Syntax <@IFEMPTY VALUE=value>
DescriptionIf the value specified in VALUE is an empty string, <@IFEMPTY VALUE=value><@ELSE></@IF> includes trueSubstitutionText; otherwise, it includes falseSubstitutionText. The VALUE attribute value may be a meta tag or literal value (though it makes little sense to use a literal value). The <@ELSE> portion is optional. The trueSubstitutionText and falseSubstitutionText may include other <@IF>,<@IFEMPTY>, and <@IFEQUAL> meta tags. |
Macintosh only: These tags may be nested up to 12 levels;
beyond this limit, an error is returned.
Example <@IFEMPTY VALUE="<@CGIPARAM
NAME='USERNAME'>">
This example returns different HTML based on the value of <@CGIPARAM NAME="USERNAME">. See Also <@IF>,
<@ELSEIF>, <@ELSEIFEMPTY>, <@ELSEIFEQUAL>, </@IF>
|
Copyright © 1998, Pervasive Software Inc. All rights reserved.