before header form validations