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 form into a static html email. Essentially I want to replace all the <input> and <textarea> widgets with their value and then print it as {{ form.as_submitted }} kind of.

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?

Thanks!

*Michal
*/PatMat Ltd./
✉ mlud...@patmat.co.nz <mailto:mlud...@patmat.co.nz>

PatMat Property Solutions - We Buy Houses in Auckland <http://patmat.co.nz>/*PatMat Property Solutions

*/http://patmat.co.nz - We Buy Houses in Auckland!

--
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

<<inline: logo-60x40.png>>

Reply via email to