Hi,
I've been using the W3C validator on a page that has the chronoform on module position "right" - the right hand side column. And an article in the main area.
When validating the page with the chronoform disabled the page validates but when validating the page with the chronoform enabled (in the right hand column the page throws errors.
I've checked in Dreamweaver and the code is valid so I can't understand why it's causing the errors. The attachment shows the specifc errors.
Does anyone have any ideas.
Regards,
Rob
[attachment=0]ValidationErrors.JPG[/attachment]
I've been using the W3C validator on a page that has the chronoform on module position "right" - the right hand side column. And an article in the main area.
When validating the page with the chronoform disabled the page validates but when validating the page with the chronoform enabled (in the right hand column the page throws errors.
I've checked in Dreamweaver and the code is valid so I can't understand why it's causing the errors. The attachment shows the specifc errors.
Does anyone have any ideas.
Regards,
Rob
[attachment=0]ValidationErrors.JPG[/attachment]
Hi Rob,
Impossible to tell from this - a link to the page would be helpful.
Looks like a fault with table tags. ChronoForms itself doesn't use any as far as I recall so it could be a problem with the Form HTML or the module template.
Bob
Impossible to tell from this - a link to the page would be helpful.
Looks like a fault with table tags. ChronoForms itself doesn't use any as far as I recall so it could be a problem with the Form HTML or the module template.
Bob
Thanks for the quick reply Bob, two examples for you that I think are going to be the same type of fix:
Main area: http://midland.please-code.me/contact-midlands-web-design.html
Right hand: http://midland.please-code.me/online-shop.html
I created the forms in dreamweaver and used the validator to make sure they were ok but W3C doesn't like them. As you say it must be something to do with the template.....I'm just not sure what though and stumped. :?
Regards,
Rob
Main area: http://midland.please-code.me/contact-midlands-web-design.html
Right hand: http://midland.please-code.me/online-shop.html
I created the forms in dreamweaver and used the validator to make sure they were ok but W3C doesn't like them. As you say it must be something to do with the template.....I'm just not sure what though and stumped. :?
Regards,
Rob
Hi Rob,
The problem is in the Form HTML
Bob
The problem is in the Form HTML
<option value="FreeIndex">Free Index</option>
<option value="LocalDirectory">A Local Directory</option>
</select></td>
</tr>
<!--<tr>
<td>Please enter the text from the image (without spaces)</td>
<td></td>-->
</tr>
That last </tr> should be inside the comments.Bob
Ah the indecision of whether to add the recaptcha.....
Thanks for your help Bob.
Now I know your not here to valid people's pages so this is not meant to be cheeky but I've got two errors on the same page as before http://midland.please-code.me/contact-midlands-web-design.html, I don't think this is something I can amend from the form code.
Thank you again for your help. P.s. Just buying the link free version....this is more of a thank you to yourself and Max than removing the link.
[attachment=0]ValidationErrors.JPG[/attachment]
Thanks for your help Bob.
Now I know your not here to valid people's pages so this is not meant to be cheeky but I've got two errors on the same page as before http://midland.please-code.me/contact-midlands-web-design.html, I don't think this is something I can amend from the form code.
Thank you again for your help. P.s. Just buying the link free version....this is more of a thank you to yourself and Max than removing the link.
[attachment=0]ValidationErrors.JPG[/attachment]
Hi Rob,
It seems your template tries to place the main component area within a paragraph block (<p></p>). This is the cause for both errors, as paragraphs only permit "inline elements", not "block elements". You should look for something like "<p><jdoc:include type="component" /></p>" within your template files, and either remove the <p></p>, or replace them with <div></div>.
/Fredrik
It seems your template tries to place the main component area within a paragraph block (<p></p>). This is the cause for both errors, as paragraphs only permit "inline elements", not "block elements". You should look for something like "<p><jdoc:include type="component" /></p>" within your template files, and either remove the <p></p>, or replace them with <div></div>.
/Fredrik
Hi Fredrik, thanks very much for your reply, I'll have a search for that, fingers crossed I can find it.
Regards,
Rob
Regards,
Rob
Hi rob,
I suppose this is a commercial/proprietary template (JA Rasite?)
From what I can read of the generated html-source, this should be just below a <div> tag with class="article-content".
Oh wait, are you using the ChronoForms plugin to display your form within an article? If that's the case, then you'll need to edit your container article and remove the <p></p> surrounding the article content, using the "Edit HTML Source" option.
/Fredrik
I suppose this is a commercial/proprietary template (JA Rasite?)
From what I can read of the generated html-source, this should be just below a <div> tag with class="article-content".
Oh wait, are you using the ChronoForms plugin to display your form within an article? If that's the case, then you'll need to edit your container article and remove the <p></p> surrounding the article content, using the "Edit HTML Source" option.
/Fredrik
Ah jeeze I was looking too deep and it was a simple set of <p> tags outside my {chronocontact} 😶
Thanks Fredriks it's much appreciated, I've been tearing my hair out with this. Have a good week.
Regards,
Rob
Thanks Fredriks it's much appreciated, I've been tearing my hair out with this. Have a good week.
Regards,
Rob
This topic is locked and no more replies can be posted.
