Comment form problems

I am having some problems in the comment form of my individual archives.

After entering a comment, the form correctly sets the mtcmtauth, mtcmtmail and mtcmthome cookies.

But if I view the page later, the contents of these cookies are not loaded into their respective fields (I’ve tried it with Moz and IE6). My browser tells me that document.comments_form.email is zero or not an object. Of course I checked my template, but I cannot find anything strange.

The <form> element has id="comments_form", and the field is also nicely called email.

I don’t know where to look further anymore. Can somebody have a look at this page, and help me with the solution?

2 thoughts on “Comment form problems”

  1. I found it!
    On my pages I use the XHTML1.1 DTD, which does not allow the ‘name’ attribute. So I changed all the name attributes in id to obtain a valid markup.
    After changing the id=�comments_form� back to name=�comments_form�, my personal details showed up in the file again.
    But now my pages don’t validate.
    So the next question is how to modify the javascript so that it works with the XHTML1.1 DTD.

Leave a Reply to Jeroen Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.