remove maxlength from forms

killes@www.drop.org - March 23, 2007 - 21:33
Project:Location
Version:6.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:killes@www.drop.org
Status:active
Description

The database allows 255 chars for city, street, etc, but FAPI tries to restrict this. No good reason to do that, IMO.

AttachmentSize
no_maxlength.patch1.73 KB

#1

ankur - March 24, 2007 - 22:30
Status:needs review» fixed

Applied to DRUPAL-5 branch. Thanks for the patch.

#2

Anonymous - April 7, 2007 - 22:46
Status:fixed» closed

#3

landry - September 30, 2009 - 09:54
Version:5.x-1.x-dev» 6.x-3.x-dev
Status:closed» active

#maxlength=64 is still in use for those fields in 6.x. Reopening and reassigning. There's no good reason to limit the form field to 64 for name/street/additional/city when 255 is allowed in db...

#4

Bartezz - October 22, 2009 - 10:18

+1 encountered this too and it's annoying :) for now working with webdeveloper toolbar in Firefox to unset the maxlength...

 
 

Drupal is a registered trademark of Dries Buytaert.