Differentiate between inputs and textareas in assess, limit lengths based on maxlen