Hi Matthew,

>> I wonder, why there is no formFieldset() view helper?
> 
> Simple oversight, and nobody's bugged us for one before now. :)

Just another question for understanding. When I use fieldsets with a
form these fields are always grouped together when echoed with a view
helper:

<input type="text" name="data[pizza_name]" value="">

I am used to use fieldsets to group elements visually and not logically.
When a form is sent, the data is like this:

array(1) {
  ["data"] => array(1) {
    ["pizza_name"] => string(9) "Just a test"
  }
}

When elements are grouped visually for a fieldsets I want to data to be
sent like this:

array(1) {
    ["pizza_name"] => string(9) "Just a test"
}

So to me the fieldsets of Zend\Form are used diffently than the HTML
fieldsets.

Why is this done like this?

Regards,

Ralf

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to