In the documentation can be found: “Zend_Form: Advanced Zend_Form Usage -
Array Notation“
http://framework.zend.com/manual/en/zend.form.advanced.html#zend.form.advanced.arrayNotation
Am 18.02.2011, 11:21 Uhr, schrieb Mr.Kilmister <[email protected]>:
I would like to generate HTML form like this:
<input type="radio" name="jump[from]" id="jump-from-43" value="43" />
<input type="radio" name="jump[to]" id="jump-to-43" value="43" />
<input type="radio" name="jump[from]" id="jump-from-45" value="45" />
<input type="radio" name="jump[to]" id="jump-to-45" value="45" />
<input type="submit" name="submit" id="submit" value="move" />
It is important that "name" includes associative array.
name = "jump [from]"
name = "jump [to]"