ZF-706: Cannot specify id attribute for hidden fields in 0.6.0
Prior to ZF 0.6.0 (eg 0.2.0) I could specify the id of hidden fields like:
$this->formHidden($name, $value, array("id" => "theId"));
I have looked at some ZF code briefly and it seems that the function Zend/View/Helper/FormElement::_getInfo is unsetting the id field when creating the $info array, and the _hidden function does not use the $id after extract()'ing that variable, so the id gets lost.
I have temporarily hacked my copy of ZF 0.6.0 to include the id, it also affects formCheckbox, which is also losing the id. I do not know if there are any other cases.
I have not marked this issue as a bug as I dont know if this is by design, but it's certainly breaking my code (that worked on 0.2.0) and I see no reason why I cannot specify an id for a hidden field.