add form and validate function to lesson 7
validating name field for empty string
refactor validateTextField to reuse code
validating check box on form validation lesson
refactor validateCeckBox() to be reused