protected Form_Validate ( ) |
protected function Form_Validate()
{
if (!trim($this->txtWidth->Text) && !trim($this->txtHeight->Text)) {
$this->txtWidth->Warning = 'For this example, you must specifiy at least a width OR a height value';
return false;
}
return true;
}