[development] Form field maxlengths vs. database field sizes

Adrian Rossouw adrian at bryght.com
Thu Feb 9 00:01:51 UTC 2006


On 08 Feb 2006, at 6:22 AM, Karthik wrote:

> This issue stems from Killes' comment [
> http://drupal.org/node/46306#comment-71971 ]. Should form field
> maxlengths be consistent with corresponding database field sizes or
> should unicode encoding be accounted for?
Drupal has no way of knowing what the field size of the database is,
and as such the forms api can't take that into account.

--
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com




More information about the development mailing list