Issue Type: Bug Created: 2012-03-25T14:28:05.000+0000 Last Updated: 2013-03-13T20:55:21.000+0000 Status: Open Fix version(s): - Next Mini Release ()
Reporter: Eddo Rotman (karnaf) Assignee: Christian Albrecht (alab) Tags: - Zend_Form
Related issues: - ZF-12249
Attachments:
According to W3C, form 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 ("."). - http://www.w3.org/TR/html4/types.html#type-cdata
Trying to create a form element with the name foo.bar makes it foobar - e.g.
<pre class="literal">
require_once 'Zend/Form/Element/Hidden.php';
$foo = new Zend_Form_Element_Hidden(array('name' => 'foo.bar'));
echo $foo->getName(); // foobar
Posted by Frank Brückner (frosch) on 2012-03-30T13:36:29.000+0000
Hi Eddo, thanks for reporting!
The patch must include: