form validation for add article