Chronoforms v 4.0.4 w3 validation errors

davidamoros 09 Dec, 2013
Good morning,

I have setup a Chronoforms form and splitted the fields in three tabs.

Works ok, but when passing w3 html5 validation service, it throws some errors telling that the h3 from the tabs aren't allowed in a dt.

Also, the ghost fields also don't validate due to the alt tag. Fixed it by removing the ghost.
GreyHead 09 Dec, 2013
Hi davidamoros,

What makes the validation a problem? As far as I know ChronoForms is using the Joomla! tabs code. I guess that you could use some other code if you really need the validation.

The problem appears to be that the <h3> is inside a <span> tag as well as in a <dt> tag :-(

Bob
davidamoros 12 Dec, 2013
Thank you very much for your promptly response!!!

Efectively, it is part of the core of Joomla. Strange that they code such a non standard markup...

Pass validation is needed for a project I'm working at, and finally decided to modify the joomla code (just removing the <h3> tag from tabs.php did the trick).

No pun intended, but there's still a validation error, this one coming from chronoforms and multiple file uploads. On html5 the alt tag is not accepted on a input element, and you use it as alt="ghost". I know it's really hard to change this, but maybe you will want to have a look at the new data- attributes...

Again, thanks for this component and for your support.
GreyHead 12 Dec, 2013
Hi davidamoros,

Good to see you found a fix. Max, the developer, is just about to release CFv5 and I think that has more HTML5 compatibility (but I don't know about the alt attribute).

Bob
This topic is locked and no more replies can be posted.