This code is inside of template path “blog/article” and a {exp:channel:entries} tag.
<div id="comments" class="comments">
<h2>Comments</h2><p>{exp:comment:entries sort="asc"}<br />
<div class="comment"><br />
</p><h4>On {comment_date format="%M %d, %Y"}, {name} said:</h4>
<p> {comment}<br />
</div>{/exp:comment:entries}<br />
</p>
<p> </p><h3>Submit a Comment</h3>
<p> {exp:comment:form}<br />
<table><br />
<tr><br />
<td colspan="2">Personal Info</td><br />
</tr><br />
<tr><br />
<td><input type="text" name="name"><label>Name</label></td><br />
<td><input type="text" name="email"><label>Email</label></td><br />
</tr><br />
<tr><br />
<td colspan="2">Comment</td><br />
</tr><br />
<tr><br />
<td colspan="2"><textarea name="comment"></textarea></td><br />
</tr><br />
<tr><br />
<td colspan="2"><input type="submit" value="Submit"></td><br />
</tr><br />
</table><br />
{/exp:comment:form}<br />
</div>When the form is submitted, the browser redirects to the homepage and no submission data is pushed to the database.
I tried adding a {exp:comment:preview} tag as well, but it didn’t seem to affect anything.
Any help appreciated. Thanks!