Hi, I need a javascript script that validate how far apart 2 times are if its more than a hour then submit the form else alert them.. How on earth do I do this in Javascript. Help me please :wave:
Printable View
Hi, I need a javascript script that validate how far apart 2 times are if its more than a hour then submit the form else alert them.. How on earth do I do this in Javascript. Help me please :wave:
What format is the time in? Or do you basically want to do that one time is recorded when the page loads. Then another when they submit a form. Then if the time is more than 1 hour, then don't submit?
well i have the time displayed in 24 hr format on the web page what I want is to compare that with the time they have entered in on the form if its less than an hour then dont submit else do.