469,271 Members | 1,250 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

Specify time?

Hello. Would anyone know if there is an easy and clean way of presenting
maybe a time control field in html in an .asp page that allows a user to
specify a certain time of the day? Currently using an <input
name="SpecifyTime" type="Text"field but was wondering if there was a
better way of doing this as to where users won't mistype in entering non
time related characters? Thanks in advance.
Sep 12 '07 #1
2 1445
zz12 wrote:
Hello. Would anyone know if there is an easy and clean way of
presenting maybe a time control field in html in an .asp page that
allows a user to specify a certain time of the day? Currently using
an <input name="SpecifyTime" type="Text"field but was wondering if
there was a better way of doing this as to where users won't mistype
in entering non time related characters? Thanks in advance.
Not really an ASP question (see here for some html groups:
http://groups.google.com/groups/dir?sel=33584039), but there's any
number of ways to accomplish this. Usually dropdowns are used: either
paired for hours and minutes, or a single one containing only the times
you wish to be selected (for example, if you only wish times on the hour
and the half hour to be available)

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Sep 12 '07 #2
Sorry about that. I guess I was overthinking this one as I used 3 html drop
down select controls (hr- min- am/pm) and then concatenated them to create a
time.

Thanks for your speedy reply anyways. Take care.
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
zz12 wrote:
>Hello. Would anyone know if there is an easy and clean way of
presenting maybe a time control field in html in an .asp page that
allows a user to specify a certain time of the day? Currently using
an <input name="SpecifyTime" type="Text"field but was wondering if
there was a better way of doing this as to where users won't mistype
in entering non time related characters? Thanks in advance.

Not really an ASP question (see here for some html groups:
http://groups.google.com/groups/dir?sel=33584039), but there's any
number of ways to accomplish this. Usually dropdowns are used: either
paired for hours and minutes, or a single one containing only the times
you wish to be selected (for example, if you only wish times on the hour
and the half hour to be available)

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Sep 12 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by JD | last post: by
27 posts views Thread by Chris Tomlinson | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.