On Mar 12, 8:09 pm, Amit Sethi wrote:
> How do you do field specific messages ... like for a Telephone Number , if
> all characters are not digit send
> message (no invalid ) . I have tried raising forms.ValidationError like
> specified here (http://www.djangosnippets.org/snippets/337/)
>
> I have also tried changing forms.Form._errors ... it is this string that
> seems to be used
> by forms.Form._html_output to put errors in final html .. but still it does
> not work for me can some one tell me how to do the above specified thing
>
> --
> A-M-I-T S|S
http://docs.djangoproject.com/en/1.1/ref/forms/validation/#cleaning-a-specific-field-attribute
--
DR.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.