Using the internal search in 1.02, I'm having problems getting it to validate with XHTML Strict because of the name stuff. Now normally I'd just remove it from the form, but this seems Smarty generated? Any ideas how to remove it?
"This page is not Valid XHTML 1.0 Strict!
Below are the results of checking this document for XML well-formedness and validity.
1. Error Line 80 column 36: there is no attribute "name".
<form id="cntnt01moduleform-1" name="cntnt01moduleform-1" method="get" action...."
Russ
Search and XHTML Vaildation failure because of form 'name' attribute
Re: Search and XHTML Vaildation failure because of form 'name' attribute
This is an error from modform.inc.php
$id is in use for id and name.
Code: Select all
$text = '<form id="'.$id.'moduleform-'.$idsuffix.'" name="'.$id.'moduleform-'.$idsuffix.'" method="'.$method.'" action="'.$goto.'"';//moduleinterface.php
Re: Search and XHTML Vaildation failure because of form 'name' attribute
Thanks very much Piratos.
By removing the
name="'.$id.'moduleform-'.$idsuffix.'"
from the line mentioned I got it to validate. I hope this is not going to affect anything else!
I also notice that the 'name' attribute appears quite a lot in this code. Not sure why?
Russ
By removing the
name="'.$id.'moduleform-'.$idsuffix.'"
from the line mentioned I got it to validate. I hope this is not going to affect anything else!

I also notice that the 'name' attribute appears quite a lot in this code. Not sure why?
Russ
Re: Search and XHTML Vaildation failure because of form 'name' attribute
I belive that's because the name attribute is allowed in XHTML 1.0 Traditional.