Trying form validation with Index file