Bug in maxlength attribute form input

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer