Koha/koha-tmpl/opac-tmpl/bootstrap
Owen Leonard 3bcde5d91f Bug 22657: Remove JavaScript from OPAC suggestion validation of required fields
This patch modifies the OPAC suggestion form so that it doesn't require
JavaScript for form validation. This change doesn't alter the behavior
of the form for users but does fit with the general goal of progressive
enhancement for the OPAC.

The patch adds "required" labels to required fields to better identify
required fields.

To test, apply the patch and make sure there are required fields
specified in the OPACSuggestionMandatoryFields system preference.

 - Log in to the OPAC and go to Your purchase suggestions -> New
   purchase suggestion.
 - Verify that the fields specified in OPACSuggestionMandatoryFields are
   highlighted and marked "required."
 - Verify that you can't submit the form without filling out these
   fields.

Signed-off-by: Bin Wen <bin.wen@inlibro.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-05-15 16:58:50 +00:00
..
css Bug 8995: Compiled CSS 2019-04-29 12:16:59 -04:00
en Bug 22657: Remove JavaScript from OPAC suggestion validation of required fields 2019-05-15 16:58:50 +00:00
images Bug 22568: Replace RSS icon in the OPAC with Font Awesome 2019-03-23 09:40:29 +00:00
itemtypeimg
js Bug 21870: Convert browser alerts to modals: OPAC user summary 2019-02-26 14:36:17 +00:00
lib Bug 10659: Upgrade jQuery star ratings plugin 2019-02-15 18:42:46 +00:00