On 7/8/07, Al Abut <[EMAIL PROTECTED]> wrote:
> Does using a newform shortcut make things that much easier from a
> programmatic standpoint? Or to ask the opposite, is using <input/> and
> <textarea/> elements in a template make things that much harder for
> things like data validation?

All that the shortcut does is give you less to type. It doesn't affect
validation at all. As long as you have a form element with the same
name, validation will work fine.

All you need to write is <input name="whatever" class="red small"
onFocus="jsfunction" />. The validators will work just as well.

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