If comments error

On this page:

Syntax

<txp:if_comments_error>

The if_comments_error tag is a conditional tag and always used as an opening and closing pair, like this…

<txp:if_comments_error>
    ...conditional statement...
</txp:if_comments_error>

The tag will execute the contained statements when an error exists with the comments.

Attributes

This tag has no attributes.

Examples

Example 1: Display comments error when an error occurs

<txp:if_comments_error>
    <txp:comments_error />
</txp:if_comments_error>

Other tags used: comments_error.

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.