added an on-the-fly validator check for input fields