-
Problem with custom validator
I have a date field on my page which can be entered manually as well as from a calendar.
Now for the manual part, i have added a custom validator and written a javascript file for that. The validator works fine and shows error message if there is an invalid date.
But now the page does not go to the next page when i click the next button.Earlier instead of the Custom validator, i had a regular expression validator for the date field which worked fine and i was able to go to the next page. But since it could not handle all the validations, i opted for the custom validator.
So i feel the problem is with the javascript file.....
I have two more questions....
1. What is the significance of WebUIValidation.js file ?
2. When an invalid date is entered , i get the errormessage. But now if i enter the date through the calendar, the errormessage is still there....
Thanks in advance to anybody who could help........
Similar Threads
-
By vikassheelgupta in forum Java
Replies: 0
Last Post: 07-22-2005, 05:35 AM
-
By PeterWa in forum VB Classic
Replies: 1
Last Post: 06-11-2005, 09:45 PM
-
Replies: 3
Last Post: 03-07-2005, 02:34 AM
-
Replies: 0
Last Post: 10-30-2002, 04:40 AM
-
Replies: 0
Last Post: 12-13-2001, 12:06 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks