Comment form problems

| | Comments (2) | TrackBacks (0)

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> tag 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?

Categories:

2 Comments

Jeroen said:

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 comment

0 TrackBacks

Listed below are links to blogs that reference this entry: Comment form problems.

TrackBack URL for this entry: http://mt.ai-no.com/mt-tb.cgi/296

About this Entry

This page contains a single entry by Jeroen Sangers published on August 13, 2003.

My parents are here was the previous entry in this blog.

Saying goodbye is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.12