For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2005 > Re: [PEAR] HTML_QuickForm Form Elements Error Issue









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] HTML_QuickForm Form Elements Error Issue
Peter Bowyer

2005-03-02, 8:56 am

Hello Sarah,

At 03:51 02/03/2005, Sarah Gray wrote:
>Should it? Or would it be better practice for me to rename my elements?


Renaming is the best solution, as to have name attributes starting with a
number is not allowed in the HTML specification. I quote from
http://www.w3.org/TR/html4/types.html#type-cdata:
"ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed
by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"),
colons (":"), and periods (".")."

Regards,
Peter

--
Maple Design - quality web design and programming
http://www.mapledesign.co.uk
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com