Setting up the form validation for empty strings