Hi,
Thanks for replying...
I tried following ways...
$form->addElement('textarea', 'address', 'Address :',array('id'=>'address1'));
$form->addElement('text', 'f_email', 'Email Address :',array('id'=>'f_email'));
$form->addElement('text', 'f_work_phone', 'Phone :',array('id'=>'f_work_phone'));
$form->addElement('text', 'f_mobile_phone', 'Mobile :',array('id'=>'f_mobile_phone'));
$form->addElement('text', 'f_fax', 'Fax :',array('id'=>'f_fax'));
$form->addElement('select','cus','Customer',$contact,array('onChange'=>$form->get_submit_form_js(false)));
$cus = $form->exportValue('cus');
if($cus)
{
eval_js('alert("hh")');
}
Currently as i change customer name alert message is generated & form is submitted.
please explain me how to fill up text box values of address, email, phone....on the change event of customer but form should not get submitted.
Thanks
Kishor