[Bug 31376] New: Input type email in system preferences prevents multiple addresses
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31376 Bug ID: 31376 Summary: Input type email in system preferences prevents multiple addresses Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Bug 27805 introduced the "email" input type for system preferences which validates the format. This validation prevents putting several email addresses separated by commas in system preferences. In the manual, it says you can input several addresses separated by commas in NoticeBcc https://koha-community.org/manual/21.05/en/html/circulationpreferences.html#... so it was a need (I also had a client ask me why he couldn't remove one of the three addresses he had in there and save). Can we adjust the validation? To test: 1) Go to Administration > Global system preferences 2) Search for NoticeBcc 3) Add multiple email addresses separated by commas 4) Click "Save all circulation preferences" Validation error: Please enter a valid email address. See also bug 16786, bug 12802 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31376 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |27805 See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=16786, | |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=12802 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27805 [Bug 27805] Use input type "email" for email preferences -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31376 --- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- If it's not possible to adjust the validation, let me know and I'll change the manual so that it doesn't confuse users. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31376 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31376 --- Comment #2 from David Cook <dcook@prosentient.com.au> --- This isn't something I'm likely to work on, but I was looking at the "email" input type today for other reasons, and I did notice that you can provide a "multiple" attribute to provide a list of comma separated email addresses: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#multip... Although if you do that, then the "required" attribute doesn't work anymore. That would be OK for system preferences like NoticeBcc but not for other fields (like self-registration or borrower modification). -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31376 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com --- Comment #3 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- I had a quick go at this, and although I got it to add 'multiple' to the input field, it still fails validation. I'll post my work in case it helps lead anyone else to the correct solution. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31376 --- Comment #4 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 160363 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160363&action=edit Bug 31376: Attempt to allow comma delimeted list of emails for preferences This doesn't work in chrome in my testing.. but I'm not entirely sure why. I even tried commenting out the jQuery validator lines introduced in bug 8000, but that didn't help either. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31376 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |philippe.blouin@inlibro.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org