I have a comment form as below.
But when I try to post comments, even just the word “testing”, I get a message back telling me I’ve used characters that aren’t allowed. It will preview OK, but not submit.
What might be causing this?
It doesn’t matter what I select for “comment text formatting” and “comment html formatting” in the weblog comment posting preferences.
An example page is at http://www.savethepines.net/index.php/pages/news_item/70/
<div id="comment_on_this_article">
<h2>Comment on this news article</h2>
<div id="comment_form">
{exp:comment:form weblog="news" preview="pages/news_comment_preview"}
<label id="name_label" for="name">Name</label>
<input id="name_input" type="text" name="name" value="{name}" id="name" size="37" /></p>
<label id="email_label" for="email">Email Address</label>
<input id="email_input" type="text" name="email" value="{email}" id="email" size="37" /></p>
<label for="comment">Comment</label>
<textarea name="comment" rows="8" cols="100" id="comment">{comment}</textarea></p>
<input type="checkbox" name="notify_me" value="no" {notify_me} />Notify me of follow-up comments?
<input type="submit" name="preview" value="Preview" /> <input type="submit" name="submit" value="Submit" /></p>
{/exp:comment:form}
</div> <!-- END #comment_form -->
</div>
Hmm now let me see!! 😊
Looks vaguely familiar that error message 😉
That would be my Unregistered Comment extension coming in to play I think.
Try turning that off for now and see if that does it for you. If so I will look into why it is doing that.
Best wishes,
Mark
Craig, can you confirm it’s an issue with the extension?
I can pretty safely say that it will be 😉 That’s the default error message from my extension
Also just updated the extension to allow for space characters which I’m pretty sure is what will have been causing this. New version is attached to the first post in this thread here.
Sorry about that. I’ve not really used the extension all that much myself just someone asked about it and I thought I would have a go at making it, all for free of course 😉 so I never really came across any problems with it as I never really used it that much.
Hope that fixes it up for you, do let me know.
Best wishes,
Mark
Wow you blokes are really on the ball. Yes that’s it. I hereby vow to no longer bung in new extensions etc. until I am actually ready to use them.
Interestingly though someone else, probably one of you, managed to make a post in the meantime.
Thanks. Good luck with sorting out that extension Mark.
Nope, I installed your update Mark and the problem persists. I’ve turned it off again.
Craig just so that I can test this some more (it’s currently working on my system) could you let me know what name you are attempting to put into the Name field in the comments form for testing?
I’m just wondering where it’s bulking as on my system everything I test with is working fine so would like to see what is stopping it if possible.
Thanks.
Mark
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.