Re: Newbie: Trying to apply JS code to Django forms code

2009-03-14 Thread timc3
Checkout the forms documentation for information on how to change what the ModelForms generates: http://docs.djangoproject.com/en/dev/topics/forms/#topics-forms-index You should be able to change the types of fields and fields names/ids/ class names to then hook into your javascript. --~--~-

Newbie: Trying to apply JS code to Django forms code

2009-03-13 Thread ldm999
My Django form looks like this: --- Type: {{ form.syslist }} Name: {{ form.name }} --- My JS copy droplist value to text field code looks like this: --- books movies restaurants --- I'm strugglin