hi experts below test previously was function i converted that function to form,but when i use the form tags like textfield,select in output i am getting Array,ie actual fields are not generated
function test_qform()
{
$form['model'] = array(
'#type' => 'textfield',
'#title' => 'Enter your Model No',
'#size' => 40,
'#maxlength' => 60,
'#required'=> TRUE,
);
$form[] = array(
'#type' => 'submit',
'#value' => t('submit'),
);
$form['#method'] = 'post';
return $form;
}
where's drupal_get_form() ?