cyberco wrote:
> Thanks for the pointer, but how can I add a parameter to the textarea
> formfield, such as:
>
> ==
> onkeyup="textLimit(this.form.test, 40);">
> ==
>
> if these formfields are automagically
Thanks for the pointer, but how can I add a parameter to the textarea
formfield, such as:
==
==
if these formfields are automagically generated by Django?
--~--~-~--~~~---~--~--
cyberco:
If you want to do it in the interface, you will have to use some
javascript.
Here is a page that shows how to do it: http://www.felgall.com/
jstip20.htm
Corey
On Sep 5, 2006, at 8:50 AM, cyberco wrote:
>
> How can I set a maximum for the amount of text a user enters in a
> TextFie
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 us
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 po
5 matches
Mail list logo