Currently entering strings that are too long for the SQL columns throws a pymysql exception, which is often not reported to the user. We should add maxlength attributes to all relevant <input> elements to enforce the input length before users submit forms.