As an extra layer of protection, the change database input values should be validated on the front end. They are already checked in the backend in the change database views files. Refactor the validation functions from the common_functions module to javascript and use them for the validation. Error messages are also already in the view and can be adapted to the JavaScript file.
Description
As an extra layer of protection, the change database input values should be validated on the front end. They are already checked in the backend in the change database views files. Refactor the validation functions from the common_functions module to javascript and use them for the validation. Error messages are also already in the view and can be adapted to the JavaScript file.