I have a "contact form" page using a simple, self-submitting SQL form for filling in message, email address etc. After the form is accepted, the server tries to send an email. In case this fails, there's response.flash error message, and I'd like to just present the form again, so that users at least may get back the message they wrote.
However, since the form was accepted, all fields are cleared the next time it's shown. What's the best workaround?