Table of Contents

txp:comment_preview

The comment_preview tag is a Single Tag. Textpattern will replace this tag with a Preview button the user can use to preview the comment text. Used in the comment input form.

Syntax

The comment_preview tag has the following syntactic structure…

<txp:comment_preview />

Attributes

There are no attributes associated with comment_preview.

Examples

Comment Form

  <table cellpadding="4" cellspacing="0" border="0">
	<tr>
	  <td align="right" valign="top">
	   	<txp:text item="name" />
	  </td>
   <td valign="top">
	  	<txp:comment_name_input />
	  </td>
	  <td valign="top" align="left">
	  	<txp:comment_remember />
	  </td> 
	</tr>
	<tr>
	  <td align="right" valign="top">
	  	<txp:text item="email" />
	  </td>
	  <td valign="top" colspan="2">
	  	<txp:comment_email_input />
	  </td>
    </tr>
	<tr> 
	  <td align="right" valign="top">
	  	http://
	  </td>
	  <td valign="top" colspan="2">
	  	<txp:comment_web_input />
	  </td>
	</tr>
	<tr>
	  <td valign="top" align="right">
	  	<txp:text item="message" />
	  </td>
	  <td valign="top" colspan="2">
	  	<txp:comment_message_input />
	  </td>
	</tr>
	<tr>
	  <td align="right" valign="top">&nbsp;</td>
	  <td valign="top" align="left">
		<txp:comments_help />
	  </td>
	  <td align="right" valign="top">
		<txp:comment_preview />
		<txp:comment_submit />
	  </td>
	</tr>
  </table>

Other tags used: <comment_email_input />, <comment_name_input /> <comment_web_input />, <comment_remember />, <comment_submit />, <comments_help />, <text />