ihaywood3 / wedgetail

Automatically exported from code.google.com/p/wedgetail
0 stars 0 forks source link

No date validation and date edit will only allow up to 5 yrs more recent. #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently no validation for date entry. Any missed fields fail silently and
are entered as the first possible entry (1st of month, 1st available year).

Also editing a patients demographics will only allow the year to be changed
up to 5 years more recent.

Original issue reported on code.google.com by aircraftworks@gmail.com on 16 Jan 2010 at 4:53

GoogleCodeExporter commented 9 years ago
Editing a patients Dob on the demo system and using an invalid date (31st Feb.),
system returns successful message but doesn't change the date.

On a local install using revision 210 on sqlite it crashes.

Original comment by aircraftworks@gmail.com on 16 Jan 2010 at 5:11

GoogleCodeExporter commented 9 years ago

Original comment by aircraftworks@gmail.com on 18 Jan 2010 at 12:15

GoogleCodeExporter commented 9 years ago
Added plugin "validates_date" and code to suit as well as changing the default 
behaviour for date select boxes.

Original comment by aircraftworks@gmail.com on 28 Jan 2010 at 4:00