18 Mar
2009
18 Mar
'09
5:27 p.m.
This is my snippet how to pass the argument for the form function , Below is the sample one, but not working,can u make it work, $output[] .=drupal_get_form('username_form','$usernameID','$username'); function username_form(&$node, $form_values){ $form['userName'] = array( '#type' => 'select', '#title' => t('User Name'), '#options' => array( $usernameID => '$username', ), '#default_value' => '1', '#description' => t(''), '#required' => TRUE ); return $form; } -- உங்கள் நண்பன் பரணி குமார் Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/