[Freeform] XHTML Strict validation, name attribute
Posted: 05 July 2007 05:22 AM   [ Ignore ]
Newbie
Rank
Total Posts:  6
Joined  2007-07-03

Hi,

I am using Freeform and am getting a validation error when using the strict doctype because of the ‘name’ attribute. the W3C validator highlights this as the problem:

<form id=’freeform’ name=‘book_camilla’ method="post" action="http://www.s21029

It would be great if FreeForm could be changed so it does validate 100% using strict - that way we can all be good web citizens, practicing what we preach wink

Profile
 
 
Posted: 05 July 2007 05:48 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  336
Joined  2005-07-09
paulgalatis - 05 July 2007 05:22 AM

<form id=’freeform’ name=‘book_camilla’ method="post" action="http://www.s21029

It would be great if FreeForm could be changed so it does validate 100% using strict - that way we can all be good web citizens, practicing what we preach wink

Yes, “name” has been deprecated in XHTML 1.0 Strict. While I find “Transitional” statisfactory in almost all cases, this should not be too difficult to implement.

 Signature 

Ingmar Greil

Profile
 
 
Posted: 30 July 2007 01:01 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  21
Joined  2007-04-26

Adding form_name="blah" prints name="blah", however, name is not a valid attribute for forms in XHTML 1.0 Strict.

It would be great if FreeForm could still use the form_name parameter to organise things internally, but NOT print it out, so then it would produce valid XHTML 1.0 Strict.

Thanks

Profile