Input Validation update (maxLength added)