Contents |
ValidForm→toHtml
ValidForm→toHtml — Generates the entire ValidForm
Description
toHtml (void);
Generates the entire ValidForm.
Parameters
No parameters
Return values
Returns generated HTML form in a string.
Example
if($objForm->isSubmitted() && $objForm->isValid()){
//*** Send your e-mail, save your form data, whatever you feel like.
$strOutput = "Thank you for submitting the form. We appreciate that.";
}
else {
$strOutput = $objForm->toHtml();
}
echo $strOutput;

