Re: Problems with "initial" parameter in form handling

2010-01-01 Thread Steven Arnold
Hi Daniel, On Jan 1, 2010, at 7:31 AM, Daniel Roseman wrote: > er, you're not using Django to create the form HTML here. How are > you expecting the values to be inserted? I didn't really know. I was following an example in a text that wasn't as clear as you are. I figured it was magic o

Problems with "initial" parameter in form handling

2009-12-31 Thread Steven Arnold
Hi, my problem is that the "initial" parameter in forms.Form seems to have no effect. I set the "subject" value in this code: form = ContactForm( initial={'subject': 'I love your site!'} ) ...yet this initialization string never makes it to the HTML as the default val