A very quick question, I'm trying to make a comment form but I get an error on submit that the Comment field is required, even though its filled in.

No Idea why as I checked other questions etc code seems fine.

      <div class="comment-form">
            <h3> Leave a comment </h3>
            {exp:comment:form channel="blog_post"}
                        <label>YOUR NAME<span>*</span></label>
                        <input type="text" name="name" value="{name}" />
                        <label>YOUR EMAIL<span>*</span></label>
                        <input type="email" name="email" value="{email}" />
                        <label>YOUR WEBSITE</label>
                        <input type="text" name="url" value="{url}" />
                        <label>YOUR COMMENT<span>*</span></label>
                        <textarea name="comment">{comment}</textarea>

                    <li class="submit"><button type="submit">POST COMMENT</button></li>

Can you spot an error? Or maybe direct me the right direction?

Thank you in advance

  • You need an entry id to link the comment to. May 9, 2015 at 10:15

1 Answer 1


So you need to either specify an entry URL title or an entry ID

{exp:comment:form channel="blog_post" url__title = "{segment_x}"}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.