I want to introduce switches in logical product groups:
Broadband products: (*) 2 Mbit ( ) 4 Mbit Voice products: ( ) Standard ( ) Total Bundles: ( ) 4 Mbit + Standard ( ) 4 Mbit + Total
All radio buttons have the same name attribute - you get the idea. It seems that Zend Framework 1.8 does not support switch grouping in this way. Is there any solution for this?
Update . To clarify, as a result, the code should look like this:
Broadband products: <br/> <input type="radio" name="product" value="1"/> 2 Mbit <br/> <input type="radio" name="product" value="2"/> 4 Mbit <br/> Voice products: <br/> <input type="radio" name="product" value="3"/> Standard <br/> <input type="radio" name="product" value="4"/> Total <br/> Bundels: <br/> <input type="radio" name="product" value="5"/> 4 Mbit + Standard <br/> <input type="radio" name="product" value="6"/> 4 Mbit + Total <br/>
Do not pay attention to the exact formatting code. There are only form elements.
php radio-button zend-framework
MichaΕ Rudnicki
source share