Specify time?

Specify time?

am 13.09.2007 00:40:07 von zz12

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 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.

Re: Specify time?

am 13.09.2007 00:59:48 von reb01501

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 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.

Re: Specify time?

am 13.09.2007 01:32:36 von zz12

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]" wrote in message
news:%23yOjfCZ9HHA.3940@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 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.
>
>