Added validateField