https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34671
--- Comment #34 from Emmi Takkinen <[email protected]> --- Created attachment 190021 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190021&action=edit Bug 34671: Ignore hidden dateofbirth field Flatpicker adds its own field as date of birth field and simply hides the input field its added to. This lead to situation where if date of birth field was empty, "This field is required" message was still added to hidden input field. This patch adds "dateofbirth" field as ignored field in form validation function to prevent extra required message. To test: 1. Make sure date of birth field is mandatory. 2. Add or modify patron and leave date of birth field empty. 3. Attempt to save the patron. => Note that "This field is required" message is displayed before and after date of birth field. 4. Apply this patch. 5. Repeat steps 2. and 3. => Note that message is now displayed only after the date of birth field. Sponsored-by: Koha-Suomi Oy -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
