Adding edit post form validation