Hi, It seems to me that TextField has a maximum number of text.
In the code /django/forms/__init__.py: class TextField(FormField): def __init__(self, field_name, length=30, maxlength=None, is_required=False, validator_list=None, member_name=None): It seems to be maxlength. You can see it used in the function isValidLength in line 379. Enjoy, G On 9/5/06, cyberco <[EMAIL PROTECTED]> wrote: > > How can I set a maximum for the amount of text a user enters in a > TextField form? CharField has a 'maxlength' parameter, but TextField > not. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---