Re: HTML_QuickForm Form Elements Error Issue

From: Date: Wed, 02 Mar 2005 08:43:38 +0000
Subject: Re: HTML_QuickForm Form Elements Error Issue
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17783@lists.php.net to get a copy of this message
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

« previous php.pear.general (#17783) next »