Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard 59b9078a3f Bug 10751: standardize validation of title in staff purchase suggestions form
The form for adding a new purchase suggestion in the staff client
indicates that the title field is required but does nothing to enforce
this rule. This can be handled client-side with HTML5 validation
attributes and Koha's built-in validation plugin. This patch implements
this.

To test, apply the patch and go to Acquisitions ->
Suggestions -> New purchase suggestion. Try submitting the form without
entering a title. Doing so should trigger a validation warning.

Submission of the form with valid data should work correctly. Editing an
existing suggestion should also work correctly.

The patch displays a message 'Required' near the title field.
After submitting a empty title it changes to 'This field is required'
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
The title field is required since commit
d565fb02e9
This one makes it more consistent with formatting. It makes sense.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-02-26 16:25:30 +00:00
..
css Bug 9677 - Style button on notices and slips page with Bootstrap 2014-02-21 18:29:15 +00:00
data Bug 10592: fix MARC21 006/008 cataloging plugins 2013-07-22 14:00:23 +00:00
includes Bug 7372: (follow-up) remove last traces of roadtype table and admin pages 2014-02-21 16:11:28 +00:00
js Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
lib Bug 11749 - Remove unused jQuery plugin jquery.hoverIntent.minified.js from the staff client 2014-02-19 15:39:05 +00:00
modules Bug 10751: standardize validation of title in staff purchase suggestions form 2014-02-26 16:25:30 +00:00
xslt Bug 10911: fix invalid links when displaying records that have 880 fields 2013-09-23 17:12:13 +00:00
columns.def Bug 7684: multiple fixes for inventory 2013-11-01 00:10:49 +00:00