CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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