473,474 Members | 1,727 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1575
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)...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.