Completed input validation directive, corrected some localization with regards to timing