CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Tips & Solutions

 How to Use ... Validation rule for a Field

Print topic Send  topic

Author Message
brizolas

Posts: 4
Posted: 10/18/2006, 10:54 PM

Posted: 10/14/2006, 12:54 AM Quote message
:-D :-D
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.