Go to main content

Comment preview

Contents

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 of its own. It accepts only the global 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.

If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)