When using newforms, I want to get the id set on the input field. I am doing something like, {% for field in form %} {{ field }} ...
Now this {{field}} will render as something like, <input id="id_name" type="text" name="name" maxlength="200" /> Withing the template how can I access the value for id. If this is not possible where in code does Django set the value for id? (It seems to me to be newforms.form.BaseField.as_widget, I just can't figure out how! ) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---