On Apr 23, 9:52 am, xpanta <[email protected]> wrote:
> Hi,
>
> I wanted to ask if I am somehow "obliged" to use the form class
> provided by Django framework. I can see its use on "static" forms (eg.
> registration forms or account forms) but most of the forms I write are
> "dynamic" (forms that are dynamically created depending on the user,
> whith input fields like <input type="text"
> name="user_product_{{product_id}}">)
>
> I am new to Django, so I carry some old habits with me. Does the
> django's form class provide solutions for more complicated forms?
> Should I study it, further?

You don't *have to* use forms, you can hand-code all the html to be
rendered and do the validation manually. However django forms are not
limited to static ones; for an example of how to generate dynamic
forms check out http://jacobian.org/writing/dynamic-form-generation/.

HTH,
George

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.

Reply via email to