Hi,

  I was thinking about a feature that could be implemented. For common
fields like username having only alphanumeric , or phone numbers having
only numbers, a client side validation need not be written every
time.Instead one could directly write something like,

forms.CharField(validator = "usernamevalidation")

in the forms definition and the client side validation for that field would
automatically be taken care of by the validator class. This will save a lot
of time while making large websites with lot of registration forms and in
general be helpful to people who dont really know javascript and yet want
some amount of frontend validation in place.


Regards,
Karthik Abinav

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to