forms: maxlength of 0 means disable maxlength

Instead, previously, a maxlength of zero effectively disabled the field,
because it prevented any user input into the field.