Added validate method to form-manager