By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,116 Members | 1,509 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,116 IT Pros & Developers. It's quick & easy.

Custom Validator call in ASP.Net

P: n/a
Hi - I have a javascript function which checks if a date (day, month,
year) is valid.

If not (ie. 30 Feb 2003), it changes the day until it is an accepted
date.

Now on my form, I want to create a date range:

tbDay1, tbMonth1, tbYear1 - tbDay2, tbMonth2, tbYear3

I have a custom validator which calls this:

function isvaliddate(source, arguments)
{
syear=document.getElementById("tbYear1");
smonth=document.getElementById("tMonth1");
sday=document.getElementById("tbDay1");
...
Nov 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.