- b2evolution CMS Support Forums
- b2evolution Development
- Bug reports
- GitHub & Preview releases
- [FIXED] CVS - wierd validation error
1 yabba Aug 28, 2005 11:28
I've been working on the registration/login forms and have noticed a wierd validation error with the cvs version.
If you goto any form in htsrv (login , register , lost password) and view the source you'll see that labels are :-
<label for="whatever">
however, if you validate the pages the validator sees :-
<label for="whatever"">.
I've scanned through the form class/functions but can't see what's causing it.
Just in case this was a windoze bug I also checked against the demo version and the same error occurs (there's also a missing alt tag, but that's a simple thing to fix)
[url=http://demo.b2evolution.net/HEAD/blogs/htsrv/login.php?redirect_to=%2FHEAD%2Fblogs%2Findex.php%3Fblog%3D2%26amp%3Bpaged%3D1%26amp%3Bpage%3D1]Demo blog - login page[/url]
[url=http://validator.w3.org/check?uri=http%3A%2F%2Fdemo.b2evolution.net%2FHEAD%2Fblogs%2Fhtsrv%2Flogin.php%3Fredirect_to%3D%252FHEAD%252Fblogs%252Findex.php%253Fblog%253D2%2526amp%253Bpaged%253D1%2526amp%253Bpage%253D1&charset=%28detect+automatically%29&doctype=Inline&ss=1&verbose=1]Validation results for login page[/url]
¥
*edit*
Update, it would appear that for once the w3c agrees with IE 8| .
If you view the source in IE it shows <label for="whatever""> as well.
okay, fixed.
Thanks for reporting.