khowellmobile / practice-cs-tool

A tool for practice cs written in django
MIT License
0 stars 0 forks source link

Change database inputs need to be validated on front end #211

Closed khowellmobile closed 3 days ago

khowellmobile commented 2 weeks ago

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.