problem formatting dates from text fields.

Hendrik van Rooyen mail at microcorp.co.za
Mon Dec 4 00:43:52 EST 2006


"John Machin" <sjmachin at lexicon.net> wrote:
> Dennis Lee Bieber wrote:
8<--------------------------------------------------
> > Simplest is probably to do what many web-sites use for credit card
> > expiration dates... Ignore any pre-built date-time modules...
> >
> > Create three integer fields, make the first two drop-down lists
> > pre-populated with days and months. And validate the results later (just
> > to cover someone putting in 31 02 xxxx).
> >
>
> My 2 cents worth:
>
> (1) this annoys the bejaysus out of data inputters who can type
> "31\t12" a lot faster than they can pick it out of two drop-down lists.
>
> (2) this would annoy the bejaysus out of data users if they were aware
> of the extent of off-by-one errors caused by using drop-down lists.
>
> Cheers,
> John

This annoyance can be maximised if, after the selection, a pop up dialog window
is displayed showing what was chosen, along with the following text:

"This is what you have chosen - Please indicate whether or not you wish to re
try"

- with the focus on the "yes" button.
and then, when "yes" is chosen, to start again without any attempt to remember 
the previously entered values

- Hendrik





More information about the Python-list mailing list