• Resolved kebhin

    (@kebhin)


    Hi, I have just discovered that the HTML generated for data forms does not correctly generate the maxlength attribute. For instance if your table has a char field say firststname char(8) , the <input> element gets an attribute of maxlength=””8″” (note two pairs of quotes). This isn’t recognised as a true value and so the user can attempt to enter more than 8 characters. When submitting you get a database error but it would be better to restrict the input in the first place

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug in maxlength attribute form input’ is closed to new replies.