logo       
Google Custom Search
    AddThis Social Bookmark Button

[FormBuilder] CGI::FB and XHTML 1.1: msg#00012

Subject: [FormBuilder] CGI::FB and XHTML 1.1
I've been validating some of my applications using CGI::FB with the W3C
validator, and it seems that the 'name' and 'charset' attributes are not
allowed inside the <form> tag. However, setting a 'name' for the form is
essential in order to get special stylesheeting over elements with id's
like FormName_Field_Element. Also, setting 'charset' is useful for
internal uses. Not dumping name= and charset= in the <form> tag would be
nice, since it would still allow internal methods to access those
options while being XHTML 1.1 compliant.

I've been browsing the code but I can't point where the actual <form>
tag is built. In Template/Builtin.pm, however, I assume it's comming
from $form->text. I tried, unsuccesfully, to track $form down the parent
methods.

Maybe a 'compat' option in the new() method could prove useful (instead
of just changing this things to make CGI::FB compliant). Another change
that is needed is the removal of the <noscript> part in the JS output.

This could be accomplished avoiding "push @html, $form->noscript if
$js;" in Builtin.pm

Jose

-- 
José M. Parrella -> Debian Sid, k2.6.18
Escuela de Ingenieria Electrica
Universidad Central de Venezuela -> ucvlug.info
_______________________________________________
FBusers mailing list
FBusers@xxxxxxxxxxxxxxx
http://www.formbuilder.org/mailman/listinfo/fbusers

Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>