<txp:comments_error /> single tag, 3 attributes

comments_error

The comments_error tag is a single tag which is used to produce the current comments error.

Related: if_comments_error

attributes

wraptag="div" 
  • (X)HTML tag (without brackets) to wrap around the list.
break="br" 
  • (X)HTML tag (without brackets) or string used to separate list items.
class="comments_error" 
  • CSS class to be applied to wraptag.
<txp:comments_error /> 1 examples

Display comments error when an error exists

<txp:if_comments_error>
  <txp:comments_error break="li" wraptag="ul" />
</txp:if_comments_error>

Other tags used: if_comments_error