JavaScript

Moderators: None (Apply to moderate this forum)
Number of threads: 2058
Number of posts: 5158

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Date Field validity Posted by mailtokanth on 18 May 2004 at 10:33 AM
Please specify a good logic for validating a textbox which takes
a date field and it should take only valid date in the form of MM/DD/YY with slashes as default when entering the date.
Report
Re: Date Field validity Posted by zibadian on 18 May 2004 at 3:08 PM
: Please specify a good logic for validating a textbox which takes
: a date field and it should take only valid date in the form of MM/DD/YY with slashes as default when entering the date.
:
Here's a link with the answer to your question:
http://developer.irt.org/script/1.htm
Report
Re: Date Field validity Posted by mailtokanth on 19 May 2004 at 8:43 AM
hi
thanks for showing interest on me
But I need a date validity code in Javascript that
takes a date (which a user can type anything in the textbox)
but we should make it validty such as
1--when enters charecters or special characters
2--when enters irrelevant date in numbers
Report
Re: Date Field validity Posted by Weirdofreak on 20 May 2004 at 9:53 AM
That's what the first script in the page he linked to did.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.