Look at https://github.com/ctavan/express-validator or https://github.com/AndrewKeig/express-validation Validation Errors should be displayed on the form for Add and Edit. https://booker.codes/input-validation-in-express-with-express-validator/