brizolas
Posts: 4
|
Posted: 10/18/2006, 10:54 PM |
|
Posted: 10/14/2006, 12:54 AM Quote message
This is a sample validation
I have two date fields , validfrom and validto ,
At the second field i am using the followed validation rule
$this->validto->GetValue()>$this->validfrom->GetValue()
The above validation rule produces the following
boolean check code, testing for false result.
if(! ($this->validto->GetValue()>$this->validfrom->GetValue())) {
$this->validto->Errors->addError($CCSLocales->GetText("Text1"));
}
thats all folks.
|
|
|
|