CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Validating Dates

Print topic Send  topic

Author Message
OIG_user
Posted: 08/05/2004, 7:06 AM

I have a form that asks the user for two dates, A beginning date and an ending date. I am having trouble validating that the beginning date is less then the ending date.

I tried validate entry action for On Submit
//Validate Entry @90-39866629
this.ccsErrorMessage = "Period Beginning must be before Period ending";
this.ccsValidator = document.TRACKSearch.begin_date.value < document.TRACKSearch.end_date.value;
this.ccsCaption = "";
//End Validate Entry

with no luck. Also tried validate min value and custom code, none have seemed to work.

Thanks
OIG_user
Posted: 08/05/2004, 7:25 AM

I was able to figure it out. Thanks anyway

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.

Web Database

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.