Hi,

I have a group of 2 radio buttons - I simply want to reveal a set of
different fields dependent on which radio is clicked. I can add an onClick
handler as below - but it appears on both radio buttons - how can I add
different code to each?

        $payment = new Zend_Form_Element_Radio('cust_paym_type', array(
               'multiOptions' => array(
               'AC' => 'Account Number ',
               'CC' => 'Credit Card'),
               'onClick' => "show_cc()"
        ));

thx
-- 
View this message in context: 
http://www.nabble.com/Adding-JS-to-individual-Radios-in-a-group-tp19544563p19544563.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to