Added front-end validations for all forms.