Bug 22550: OPAC suggestion form doesn't require mandatory fields
authorOwen Leonard <oleonard@myacpl.org>
Wed, 20 Mar 2019 16:24:42 +0000 (16:24 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 27 Mar 2019 17:53:41 +0000 (17:53 +0000)
commit28e7f1d4e7a114b04d6940463f47351466a638dd
treef7b3e2b2c9060354ddab26422696343215458234
parent53b059afbb5731373a92a3ebaaceea4e1d656363
Bug 22550: OPAC suggestion form doesn't require mandatory fields

Test plan:
1. OPAC->login->your purchase suggestions->New purchase suggestion
2. Click button "Submit your suggestion" directly without filling in any field.
   Empty suggestion record was added succeffully.
3. Apply the patch.
4. Click button "Submit your suggestion" directly without filling in any field.
   The required fields should be labeled in red.
   (you can change the mandatory fields by preference 'OPACSuggestionMandatoryFields')

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

Signed-off-by: Jogiraju,T. <rajujogi.t@gmail.com>

Signed-off-by: Jogiraju,T. <rajujogi.t@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt