Change functionality of validations on front end