Add front end validation to some forms