[support] call another form in the radio onclick

bharani kumar bharanikumariyerphp at gmail.com
Mon Nov 3 08:44:26 UTC 2008


This is my code

$form['option_city'] = array(
        '#type' => 'radios',
        '#title' => t('City'),
        '#description' => t('Reservation'),
        '#options' => array(
        t('City'),
        t('Address'),
        ),
        '#default_value' => variable_get('option_city', 0) // default to
Never
    );

When i select "  City "  Display the Cityform

When i select " Address " Display the AddressForm


How to write the code for this situation



-- 
உங்கள் நண்பன்
பரணி  குமார்

Regards
B.S.Bharanikumar

POST YOUR OPINION
http://bharanikumariyer.hyperphp.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20081103/c4849ab0/attachment.htm 


More information about the support mailing list