[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Validation of data within widgits
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Validation of data within widgits |
Date: |
Tue, 20 Jul 2004 07:43:08 +0200 |
User-agent: |
Mutt/1.3.22.1i |
> where for example valid postal codes vary by country, if the validation
> were to be done only from the back end, would this mean every country
> would need its own version of the table field constraints? Is that in
> fact the easiest way to accommodate such differences?
I would assume not so.
> Presumably a "smart date" function, which would interpret a single
> integer as the date of the current month etc, would operate in a client
Uhm, like wxpython/gmDateTimeInput.py ? I wonder why no one
seems to use it, though. It was announced on the list sure
enough.
> widget rather than via the back end? The back end would only care that
> it is a valid date and, for example in the case of a date of birth,
> must not be a date in the future?
Exactly, this is the kind of thing the backend will *enforce*
(not necessarily take care of primarily).
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
Re: [Gnumed-devel] Validation of data within widgits, Karsten Hilbert, 2004/07/20