[Koha-bugs] [Bug 26218] Add JavaScript validation to date of birth field in OPAC registration form

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 18 19:29:37 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26218

Amit Gupta <amitddng135 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--- Comment #6 from Amit Gupta <amitddng135 at gmail.com> ---
(In reply to Owen Leonard from comment #5)
> With these patches applied the date field doesn't seem to work at all on the
> patron entry form. If I use the datepicker the field is not populated with
> any data. If I manually type a number it is cleared when I tab away from the
> field.
> 
> I'm not sure what the second patch is supposed to do. I see the calendar
> icon in master, and adding the validation plugin isn't going to change
> anything about how the datepicker works.

Hi Owen,

I have checked and patch is working OK and not found any issue in date of birth
field. I am using the same javascript which we are using on the staff interface
for the date of birth field.

I have applied the patch and not found any issue. You can also check with the
below URL. 

http://52.172.128.94:9093/cgi-bin/koha/opac-memberentry.pl

Second patch is related to first patch. After applying the first patch I
noticed calendar icon is not visible in opac-reserve.pl page. 

I did the fix and added [%
Asset.js("lib/jquery/plugins/jquery.validate.min.js") | $raw %] to show the
calendar icon.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list