setAttribute("name","submitForm");
$clsHtmlForm->setAttribute("action","contact.php");
$clsHtmlForm->setAttribute("method","POST");
echo $clsHtmlForm->toOpenTag();
?>
setAttribute("name","command");
$clsHtmlHidden->setAttribute("value","save_and_close");
echo $clsHtmlHidden->toHtml();
?>
SCB MedWire
Contact US
setAttribute("name","your_name");
$clsHtmlText->setAttribute("value",$item->getValue("your_name"));
$clsHtmlText->addRequiredFieldValidator("text",
"",
"Your Name");
echo $clsHtmlText->toHtml();
?>
Your Name
setAttribute("name","your_position");
$clsHtmlText->setAttribute("value",$item->getValue("your_position"));
$clsHtmlText->addRequiredFieldValidator("text",
"",
"Your Position");
echo $clsHtmlText->toHtml();
?>
Your Position
setAttribute("name","group_or_doctor_name");
$clsHtmlText->setAttribute("value",$item->getValue("group_or_doctor_name"));
$clsHtmlText->addRequiredFieldValidator("text",
"",
"Group or Doctor Name");
echo $clsHtmlText->toHtml();
?>
Group or Doctor Name
setAttribute("name","address");
$clsHtmlText->setAttribute("value",$item->getValue("address"));
$clsHtmlText->addRequiredFieldValidator("text",
"",
"Address");
echo $clsHtmlText->toHtml();
?>
Address
setAttribute("name","address_suite_bldg");
$clsHtmlText->setAttribute("value",$item->getValue("address_suite_bldg"));
$clsHtmlText->addRequiredFieldValidator("text",
"",
"Address (suite - bldg)");
echo $clsHtmlText->toHtml();
?>
Address (suite - bldg)
setAttribute("name","city");
$clsHtmlText->setAttribute("value",$item->getValue("city"));
$clsHtmlText->addRequiredFieldValidator("text",
"",
"City");
echo $clsHtmlText->toHtml();
?>
City
setAttribute("name","state");
$clsHtmlText->setAttribute("value",$item->getValue("state"));
$clsHtmlText->addRequiredFieldValidator("text",
"",
"State");
echo $clsHtmlText->toHtml();
?>
State
setAttribute("name","zip_code");
$clsHtmlText->setAttribute("value",$item->getValue("zip_code"));
$clsHtmlText->addRequiredFieldValidator("text",
"",
"Zip Code");
echo $clsHtmlText->toHtml();
?>
Zip Code
setAttribute("name","email");
$clsHtmlText->setAttribute("value",$item->getValue("email"));
$clsHtmlText->addRequiredFieldValidator("email",
"",
"E-mail");
echo $clsHtmlText->toHtml();
?>
E-mail
setAttribute("name","phone");
$clsHtmlText->setAttribute("value",$item->getValue("phone"));
$clsHtmlText->addRequiredFieldValidator("text",
"",
"Phone");
echo $clsHtmlText->toHtml();
?>
Phone
setAttribute("name","please_contact_me_by_email");
$clsHtmlCheckBox->setAttribute("value","Yes");
if ($item->getValue("please_contact_me_by_email") == "Yes")
{
$clsHtmlCheckBox->setAttribute("checked", "checked");
}
echo $clsHtmlCheckBox->toHtml();
?>
Please Contact Me By Email
setAttribute("name","please_contact_me_by_phone");
$clsHtmlCheckBox->setAttribute("value","Yes");
if ($item->getValue("please_contact_me_by_phone") == "Yes")
{
$clsHtmlCheckBox->setAttribute("checked", "checked");
}
echo $clsHtmlCheckBox->toHtml();
?>
Please Contact Me By Phone
setAttribute("name","client");
$clsHtmlRadio->setAttribute("value","Existing");
if ($item->getValue("client") == "Existing")
{
$clsHtmlRadio->setAttribute("checked", "checked");
}
echo $clsHtmlRadio->toHtml();
?>
Existing Client
setAttribute("name","client");
$clsHtmlRadio->setAttribute("value","New");
if ($item->getValue("client") == "New")
{
$clsHtmlRadio->setAttribute("checked", "checked");
}
echo $clsHtmlRadio->toHtml();
?>
New Client
setAttribute("name","comments");
$clsHtmlTextArea->setText($item->getValue("comments"));
$clsHtmlTextArea->setAttribute("cols","32");
$clsHtmlTextArea->setAttribute("rows","12");
$clsHtmlTextArea->setAttribute("wrap","virtual");
echo $clsHtmlTextArea->toHtml();
?>
Comments
|
setAttribute("name","button_contact_us");
$clsHtmlButton->setAttribute("value","Contact Us");
$clsHtmlButton->setAttribute("onclick","return ContactUs_Submit('" . $clsHtmlForm->getAttribute("name") . "');");
echo $clsHtmlButton->toHtml();
?>
© 2009 SCBMedWire.com
|
toCloseTag();
?>
|