Comment preview

On this page:

Syntax

<txp:comment_preview />

The comment_preview tag is a single tag which is used to display a ‘Preview’ button the user can use to preview the comment text. Used in the comment input form template.

Attributes

This tag has no attributes.

Examples

Example 1: Comment form

<p>
    Name (required)<br>
    <txp:comment_name_input />
</p>
<p>
    Email (required)<br>
    <txp:comment_email_input />
</p>
<p>
    Website<br>
    <txp:comment_web_input />
</p>
<p>
    <txp:comment_remember />
</p>
<p>
    Message (required)<br>
    <txp:comment_message_input /><br>
    <txp:comments_help />
</p>
<p>
    <txp:comment_preview />
    <txp:comment_submit />
</p>

Other tags used: comment_email_input, comments_help, comment_message_input, comment_name_input, comment_remember, comment_submit, comment_web_input.

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.