form validation added in posting notes