form validation and blade checking