473,237 Members | 1,161 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,237 software developers and data experts.

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 1570
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Andrew James | last post by:
Gentlemen, I'm currently in the process of designing a language which will be used to specify sets of files on a WebDAV server, encoded in a URL. The aims of the language are to (in no particular...
4
by: Kent Tong | last post by:
Hi, Why is it required to specify the encoding pseudo attribute in a DTD? For example, it is OK to have: <?xml version="1.0" encoding="ISO-8859-1"?> <!ELEMENT ...> But it causes Xerces to...
1
by: meulie | last post by:
Hi all! Is it possible to bind MySQL 4.1 to more than 1 interface? Will multiple 'bind-address=x.x.x.x' statements do the job? Regards, Evert
1
by: garyusenet | last post by:
Using VB Express and SQL. I have an sql database. what function gives me todays date and time? and do i enter it in the 'default' property for the column in the database? i've tried now()...
2
by: Tony | last post by:
Yes, I need to specify a font type so that the characters will be evenly spaced when I write to a tab delimited text file. So how does one specify a font type to write/print and which font is...
16
by: JD | last post by:
Hi guys What's the best way to specify font size using CSS? I try to avoid absolute units like pt and px because then users can't resize the fonts in IE, but % and em are a complete pain to use...
2
by: BG | last post by:
Hi, I have created a C++/CLI dll, say D, with VS 2005. Now I want to use it in a project, say P, which is a console solution of type managed C++. They both compile with /clr . D has a ref class...
27
by: Chris Tomlinson | last post by:
Hi, is there any way to specify the sequence in which images load on a web page? More specifically, here is what we need to achieve: Image1 starts loading first and the browser does not...
0
by: ddmetro | last post by:
Hi All, Our project is to optimize gcc's instruction scheduling. It requires us to specify architecture information (basically number of cycles per instruction, stall and branch delays)...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.