I keep getting errors when submitting comments. Error shown - ‘the name field is required’, even though I submitted a name.
Please help.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
June 25, 2011 9:17am
Subscribe [3]#1 / Jun 25, 2011 9:17am
I keep getting errors when submitting comments. Error shown - ‘the name field is required’, even though I submitted a name.
Please help.
#2 / Jun 27, 2011 8:01am
marsh,
What version and build of EE are you using?
Are you using any addons?
Can you show us what you have in your template please?
Do you have a link to the page in question?
#3 / Jun 27, 2011 12:53pm
I’m using EE 1.6.8
I do have a few addons.
Below is code for the form
<form action=" " method="post" id="formwrapper">
{exp:comment:form weblog="features"}
<label for="fullname">Name:</label>
<input type="text" name="fullname" value="{name}" id="fullname" class="txt" />
<label for="email">Email:</label>
<input type="text" name="email" value="{email}" id="email" class="txt" />
<label for="message">Message:</label>
<textarea name="comment" id="comment" cols="50" rows="5">{comment}</textarea>
<input type="submit" name="btnSubmit" id="btnSubmit" value="Submit" />
{/exp:comment:form}
</form>Thank you.
#4 / Jun 28, 2011 5:38pm
marsh,
It looks like you don’t actually have a ‘name’ field. You have a ‘fullname’ field, but EE is looking for an input field with the name of ‘name’. Try changing ‘fullname’ to ‘name’ and let me know what happens.
#5 / Jun 29, 2011 4:52pm
Thanks Kevin. Did the changes, but still can’t get it to work. Now the error message is: ‘Unable to receive your comment at this time’.
Hoping a solution is found soon.
#6 / Jul 01, 2011 12:15am
Hi, marsh,
Are you trying to submit a content that may be a duplicate? I think you’re running into the duplicate content folder.
Can you try commenting with something totally unique? Like…
super yellow califrag purple docislicious?
I think that’s unique at least.
Let us know if that submits!
#7 / Jul 01, 2011 10:54am
Thanks, thanks, thank you. That’s magical! It worked.
#8 / Jul 01, 2011 12:31pm
Yay marsh! Glad you got it working. If you ever have any more problems, please feel free to post again!
Thanks!