Enhancement name:
"jQuery Datepicker objects"
...instead of arrays of 'select' inputs or stock 'text' inputs, in forms
containing date inputs.
Functionality:
Perhaps something like the object described here:
http://jqueryui.com/datepicker/
to avoid problems with users entering poorly-formatted dates.
Example forms where this seems to be a problem include:
family/newProfile.php
family/profileChange.php
referralForm.php
As jQuery code already exists in rmh-roomreservation-maker, I would guess that
using these objects would not be impossible.
As they are, the date forms do not specify the format of the dates being
entered (in the case of raw text fields), or can accept dates such as February
31st (in the case of the select fields). The code used to implement the select
field date entry is also repetitive -- a lot of
copy-paste-paste-paste...paste-paste. And when I say a lot, I mean that there
are 62 'select' options that differ by no more than 3 or 4 characters a piece
(days of month) as well as 28 year numbers and 24 months.
Original issue reported on code.google.com by niceo...@gmail.com on 26 Oct 2012 at 7:37
Original issue reported on code.google.com by
niceo...@gmail.com
on 26 Oct 2012 at 7:37