Vine Type Content Management with Standards in Mind

21 Oct 2005


The commentform element of a Vine Type template file describes the XHTML needed to render a comment or comment form.

comment forms, typically found on blog websites, are an optional Vine Type feature. The recommended means to disable the comment feature is to set the $commentfeature variable in the vinetype.config file to off.

Even if comment will not be used on your site, it is recommended that this element remain in your template file.


  <form id="frmcomment" action="default.aspx" method="post">
    <p>$label_commentname <input name="commentname" size="35" value="" /></td>                                     
    <p>$label_commentemail <input name="commentemail" size="35" value="" /></td>                                   
    <p>$label_commentwebsite <input name="commentwebsite" size="35" value="" /></td>                               
    <p>$_commentchallenge <input name="commentchallenge" size="35" value="" /></td>                                
    <p>$label_commenttext <textarea name="commenttext" rows="25" cols="35" ></textarea></td>                       
    <input type="submit" value="$label_commentsave" id="commentsave" name="commentsave" />                       
    <input type="hidden" value="$_challengeid" id="challengeid" name="challengeid" />                                  
    <input type="hidden" value="$_refid" id="refid" name="refid" />                                                    

comment forms contain several pairs of text and text boxes

  • Name
  • Email
  • Website
  • Challenge
  • Comment

When entering information on the website, Name, Email, Challenge and Comment are required. Website is optional. You may omit the Website textbox from your template, but the others are required.

The two hidden input elements (one will contain the article id that the comment is commenting on, the other will contain the value of the challenge question) are required.

comments are written to the wb.xml file in the db folder.

Although you may rearrange the order or locations of the commentform input elements, it is recommended that no changes be made to the input elements themselves.


Visit the Download Area to test drive the standard in standards compliance.


Add professional features to your Vine Type site by purchasing a Vine Type Pro license.


Discuss Vine Type or pose questions at the official Vine Type Forum hosted by ASP Advice.

about us

Learn more about this site and the features it is demonstrating.

© 2001-2019 vine branches — website powered by vine type