473,386 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Time field validation

In my ASP.NET MVC form I have a Date text field and two dropdown fields, Start Time and End Time. When a user selects time from a dropdown StartTime field that is less than the current time I'd like to have a "past time" alert pop-up.

Also, I'd like to disable the past times for selection. So I can select only times starting from current time. How is it possible? How can I filter the times and specify a condition?

I have a jquery plugin integrated into this asp.net mvc app.

I'll appreciate your advise!
Oct 18 '11 #1
0 1279

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Martin Nadoll | last post by:
Hello, i have a few problems with form field validation: First i have to check, wether a field is filled with 10 integer numbers. Also allowed is " " and "-" but no letters, and the input of ...
1
by: ROKKSTAR | last post by:
I have a "field validation" (from www.Dynamicdrive.com) JavaScript in an ASP page that works fine on PC's W/ IE5.0 & up; but on Mac's the JavaScript in ignored, is this a MAC thing or is there some...
2
by: Doslil | last post by:
I am trying to validate the fields in my database.I have already validated the fields to check for not null.Here is what I have written for Numeric and text field. Private Function EENUM() On...
1
by: WJ | last post by:
My users want to display the text value of all the "Required Field Validation controls" at all time , so I set them all to "Static" but they donot showup until the submit button is pressed. And...
3
by: Randy Smith | last post by:
Hi, It appears as though we will have a new coding standard for field validation that includes "IsPageValid". I've been unable to find anything about this on the "microsoft.com" site by googling...
2
by: parsa28 | last post by:
Hi there, could someone help me with a form field validation that puts one of two images (one a "tick" saying the field is correct and a "red dot" saying the field is not validated) ? I know how to...
3
by: parsa28 | last post by:
Hi there, could someone help me with a form field validation that puts one of two images (one a "tick" saying the field is correct and a "red dot" saying the field is not validated) ? I know how to...
1
by: bruce.dodds | last post by:
I would like to set up a field validation rule to limit first name characters to alphabetic characters, period, and space. I've tried a number of variations on this rule: Is Null Or...
12
by: jayjayplane | last post by:
Thanks everybody here answered my last data field validation question about the alert of future date. Here I get another question, sorry, I am really an Access newbie... The question is : I...
1
by: m115435 | last post by:
We are using an Access database developed by an outside vendor in 2001-2003. When entering data, the user would click OK on the form and a BeforeUpdate module would run to make sure entries had...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.