When I create a html form like this:
$form = new Zend_Form();
$form->setMethod('post');
$form2->addElement('textarea', 'Name with Space');
The HTML becomes:
...
<textarea name="NamewithSpace" id="NamewithSpace" rows="24" cols="80"></textarea>
...
Mention that the input name becomes camelcase!
When I call $form->getValues(); after a post with filled textarea the result is:
array('Name with Space' => NULL); // Whitespace name! But value empty!
When I call $this->getRequest(); after a post with filled textarea the result is:
array('NamewithSpace' => 'filled in value'); // Camelcase name! Value filled, but name changed!
How can I access the filled in values with the setted name 'Name with Space'?
I'm using ZF 1.7.6.