Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-09-30 13:12:03

elduderino
Member
From: Whitstable. south-East England
Registered: 2006-01-02
Posts: 175
Website

validation problemo

Hi,

Ive looked through past issues to see if anyone else has encountered this but i cant see anything.

My comments form out puts this code:

<code><input type=“submit” name=“preview” id=“preview” value=“Preview” class=“button” />
<input type=“hidden” name=“parentid” value=“12” /><input type=“hidden” name=“backpage” value=”/index.php?id=12” /></form></code>

Unfortunatley these lines of cdoe cause 4 errors in my validation at http://www.boudaki.com/index.php?id=12

These are my forms, i dont know which one or which part is causing the parsed code:

comments form:
<code><div class=”<txp:sed_get_comment_class hide_odd_even=‘1’ />”>
<txp:comment_anchor />
<h4><txp:comment_name /></h4>
<txp:sed_comment_time class=‘comment-time’/>
<txp:message />
</div></code>

comments Display:
<code>
<txp:comments />
<txp:if_comments_allowed>
<txp:comments_form />
<txp:else />
<p><txp:text item=“comments_closed” /></p>
</txp:if_comments_allowed></code>

and comments form:
<code>
<txp:comments_error />

<p><label for=“name”><txp:text item=“name”/></label><br/><txp:comment_name_input /></p>

<p><label for=“email”><txp:text item=“email” /></label><br /><txp:comment_email_input /></p>

<p><label for=“web”>website address</label><br /><txp:comment_web_input /></p>

<p><label for=“message”><txp:text item=“leave comment” /></label><br /><txp:comment_message_input /></p> </code>

Can anyone suggest what i need to do to get this page to validate?

Thanks for any suggestions

Last edited by elduderino (2006-09-30 13:13:28)

Offline

#2 2006-09-30 13:17:40

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: validation problemo

What are you validating against?

Have you looked at the FAQ? http://textpattern.com/faq/159/why-does-the-comment-form-prevent-validating-as-xhtml-1x-strict

Offline

#3 2006-09-30 13:33:35

elduderino
Member
From: Whitstable. south-East England
Registered: 2006-01-02
Posts: 175
Website

Re: validation problemo

Hi spencer,

Yes im using a strict dtd so the thread explains my problem. I see theres a temporary fix there that someones posted, involving wrapping div around the whole form. For a permanent fix we have to wait for the next minor release….is that right?

Thanks for the prompt reply

james

Offline

Board footer

Powered by FluxBB