473,386 Members | 1,819 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.

date picker

looking for date-picker which is made up of three dropdowns, month/day/year, which are interconnected to show correct combination
upon change of any one dropdown. Should allow for multiple instances per form.

no pop-ups please, any available ?
Sep 21 '06 #1
3 1683
"Jon Paal" <Jon nospam Paal @ everywhere dot comwrote in message
news:12*************@corp.supernews.com...
looking for date-picker which is made up of three dropdowns,
month/day/year,
which are interconnected to show correct combination
upon change of any one dropdown. Should allow for multiple instances per
form.
>
no pop-ups please, any available ?
Since the year and month determine the number of days,
how would you want it to work?
a) don't show any days until they are both picked;
b) show 28 days until they are both picked;
c) or something else?

If 31 days are initially shown and the user selects 30, should
the list of months be changed to remove those with 31 days?

Why bother -- just let error checking handle it;
if a user doesn't select one of the fields you'll tell them
so why not just tell them they selected an invalid date?

Or must the user select in YMD order?
Probably not as you specified month/day/year.

What is it to be used for?
Sep 21 '06 #2
Since the year and month determine the number of days,
how would you want it to work?
a) don't show any days until they are both picked;
today's date is default....
b) show 28 days until they are both picked;
show days according to year and month....
c) or something else?

If 31 days are initially shown and the user selects 30, should
the list of months be changed to remove those with 31 days?
I suppose days would not affect others....
>
Why bother -- just let error checking handle it;
prefer to have only valid dates submitted..
if a user doesn't select one of the fields you'll tell them
so why not just tell them they selected an invalid date?
preference of design ....
>
Or must the user select in YMD order?
Probably not as you specified month/day/year.
it will show as m/d/y....

What is it to be used for?
selecting start/end/ DOB....

Sep 21 '06 #3
JRS: In article <12*************@corp.supernews.com>, dated Thu, 21 Sep
2006 08:21:55 remote, seen in news:comp.lang.javascript, Jon Paal
<Jo*@nospam.Paalposted :
>looking for date-picker which is made up of three dropdowns, month/day/year,
which are interconnected to show correct combination
upon change of any one dropdown. Should allow for multiple instances per form.

no pop-ups please, any available ?
Yes, read the newsgroup FAQ on the subject of dates and times; see
below. I've not much considered multiple instances, but there should be
no problem following my js-date6.htm (remember to initialise each).

Unless the values are entered in Y M D sequence, you will have problems
(assuming initialisation to today's date) in, on 29th Feb, selecting
31st Dec.

Always use Y M D order in IT; not only is it ISO but also AIUI FIPS.

Note, however, that for most users it will be quicker to type in the
date; picking is slow, date validation is easy, and they will usually
get it right first time.

It's a good idea to read the newsgroup and its FAQ.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/>? JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
Sep 21 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Adrian Parker | last post by:
Hi. I have a date time picker in my program which uses ADO to read from an Access database. It works perfectly, unless the database is empty (no records) when opened. When you try to open an...
13
by: Hussein Patwa | last post by:
Hi there. I'm new to this group. I'm also partially sighted so navigating the web is sometimes quite difficult. I'm looking for a javascript date picker, you know the ones that travel sites...
26
by: sgershon | last post by:
Hi. I know this is should be a simple question. I know server-side web-programming, and never needed to use client-side scripting... until now :) I have done so far a little number of scripts...
13
by: Deano | last post by:
Hi, I generate a report using two dates (From and To). I notice if I enter 01/10/2003 that it is interpreted by Access as 10/01/2003 i.e 10th January rather than 1st October as I intended. ...
4
by: Rethish | last post by:
Hi All, I am developing an application in VB.net. I am using .Net Datetime picker control to manage the date. But I am not able to assign null/Empty value to the control. I found the property...
4
by: Michael Turner | last post by:
Hi Guys I have two DateTime pickers one shows the Date and the other the time, this is a requirement of the solution. The problem I have is that when the time is saved to the sql database into a...
4
by: Michel Posseth [MCP] | last post by:
I have a problem with the date time picker validate event wich i believe is a bug How to reproduce : throw on a form a date time picker control and a textbox control select the validating...
0
by: fredloh | last post by:
i have a tab control on my form. i then have several microsoft date and time picker control on the tab control. when i select a date on any of the date and time picker control, the result of the...
1
by: vp.softverm | last post by:
hi all . Am facing problem with the date picker. when i click on date picker in a popup window. the date table is opened in the middle of the pop up window. and it is unable to scroll with...
1
by: Bobby | last post by:
Hi, I'm using Office 2007. I have a text field called txtDate which is formatted to medium date. This gives me the date picker when the control has the focus. I have several other text controls...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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.