The new road type entry form uses custom validation JavaScript which can be easily replaced with HTML5 validation attributes in conjunction with Koha's built-in validation plugin (http://jqueryvalidation.org/documentation/).
Created attachment 25296 [details] [review] Bug 11770 - Use validation plugin when creating new road type The page for adding a new road type includes some custom form validation JavaScript which can be removed in favor of HTML5 validation attributes and Koha's built-in validation plugin. This patch does so. To test, apply the patch and go to Administration -> Road types -> New road type. Try submitting the form without entering a road type. This should trigger a validation warning. Submission of the form with valid data should work correctly. Editing an existing road type should also work correctly.
This template no longer exists in master.