I see what you mean but I dont think it will work because I want the
field elements to look sort of like:

[Prompt:] [Textbox] [a red '*' initially or a error message after
validation] [help text if any]

So, in the template, I was hoping to be able do something like:

<b>{{field.label_tag}}:</b> {{field}}
{% if field.error%}
    <font color="red"><b>{{ field.error }}</b></font>
{% else %}
   {% if field.required %} <font color="red">*</font>{% endif %}
{% endif %}
{% if field.help_text %}}  <font
color="silver">{{ field.help_text }}</font>{% endif %}

Not sure if I have all the code correct here but you get the idea...

Thanks to everyone in the Django community!
Carlos :)

munity!
Carlos :)


--~--~---------~--~----~------------~-------~--~----~
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