Re: Emailing submitted forms

2011-07-12 Thread Derek
> >     As the form is quite long I don't want to maintain a > >     field-after-field html template for the results. > > >     Is there any convenient way to do this? > > > Iterate over the fields in the form in an email template and send that > > template over? > > Hmm, yes, that'll do. I was hop

Re: Emailing submitted forms

2011-07-10 Thread Michael Ludvig
On 11/07/11 14:18, Venkatraman S wrote: On Mon, Jul 11, 2011 at 7:07 AM, Michael Ludvig > wrote: Now I need to not only save the entered values to the db (that works well) but I also need to send a copy of the submitted form to an email address. I wo

Re: Emailing submitted forms

2011-07-10 Thread Venkatraman S
On Mon, Jul 11, 2011 at 7:07 AM, Michael Ludvig wrote: > ** > Now I need to not only save the entered values to the db (that works well) > but I also need to send a copy of the submitted form to an email address. > > I wonder if there is an easy way for rendering the form into a static html > emai

Emailing submitted forms

2011-07-10 Thread Michael Ludvig
Hi, I've got a pretty lengthy form in Django 1.2.5 - it renders well with {{ form.as_p }}. Now I need to not only save the entered values to the db (that works well) but I also need to send a copy of the submitted form to an email address. I wonder if there is an easy way for rendering the