Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Jonathan Druart 8c52782707 Bug 5031: CSV profiles: validate required content fields
Some fields are required on editing/adding CSV profiles.  This
patch adds HTML5 validation so that required fields must be
filled in before the form is submitted.

Test plan:
- add a new CSV profile (tools/csv-profiles.pl) without any value.
- save => error on empty fields.
- fill the "marc" content, select type="sql", fill the CSV name input.
- save => error on sql content field.
- fill the sql content
- save => the CSV profile is saved.
- retry for the edit form.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Comment: On top of both patches for Bug 10853

Works very well, now we get an alert with empty field
Saves correctly MARC and SQL profiles

Solved minor conflict introduced by tab followup on Bug 10853
Again small tab errors corrected in followup

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, looks a bit 'non standard' for Koha,
but improves usability of the form.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-03 17:01:24 +00:00
..
batchMod-del.tt Bug 9044: Provide item selection in record detail page (staff client) 2013-10-31 05:29:35 +00:00
batchMod-edit.tt Bug 9044: Provide item selection in record detail page (staff client) 2013-10-31 05:29:35 +00:00
batchMod.tt
cleanborrowers.tt
csv-profiles.tt Bug 5031: CSV profiles: validate required content fields 2013-12-03 17:01:24 +00:00
export.tt
holidays.tt
import_borrowers.tt
inventory.tt Bug 7684: (follow-up) use datatables.inc 2013-11-01 00:17:35 +00:00
koha-news.tt
letter.tt
manage-marc-import.tt Bug 7131: teach MARC import how to overlay items 2013-10-30 04:31:07 +00:00
marc_modification_templates.tt Bug 8015: QA Followup 2 2013-10-31 22:50:48 +00:00
modborrowers.tt Bug 11245: fix typo in modborrowers.tt javascript string 2013-11-21 17:38:23 +00:00
overduerules.tt
picture-upload.tt
quotes-upload.tt
quotes.tt
scheduler.tt
stage-marc-import.tt Bug 8015: Add MARC Modifications Templates 2013-10-31 22:47:08 +00:00
tools-home.tt Bug 8015: QA Followup 2013-10-31 22:50:39 +00:00
upload-images.tt
viewlog.tt