thank you !
the solution is:
{% for field in form %}
{% if field.field.required %}
blablabla
{% endif %}
{% endfor %}

On 2 nov, 16:58, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On 11/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > how to know if a field is required on template side ?
>
> Search this list for "required field" and one of the first hits is this
> recent thread:
>
> http://groups.google.com/group/django-users/browse_thread/thread/7d52...
>
> Karen


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to