postedoverseas
08-23-2006, 12:58 AM
Hi,
I am just converting my site from HTML 4 to XHTML 1.0.
I have run into a problem with a page that has two forms on it.
I get the error
Line 234 column 35: there is no attribute "name".
<form action="" method="post" name="friend" class="form500" id="friend" onsubmit
when I try to validate the code.
I could just get rid of the names but I have javascripts on one of the forms and so I need its name leaving intact so that the script can reference it.
Is there a way of doing this either in CSS or XHTML.
Thanks,
John
I am just converting my site from HTML 4 to XHTML 1.0.
I have run into a problem with a page that has two forms on it.
I get the error
Line 234 column 35: there is no attribute "name".
<form action="" method="post" name="friend" class="form500" id="friend" onsubmit
when I try to validate the code.
I could just get rid of the names but I have javascripts on one of the forms and so I need its name leaving intact so that the script can reference it.
Is there a way of doing this either in CSS or XHTML.
Thanks,
John