Quote from: allanb at Sep 20, 2010, 08:26 AM
See @cipa post:-
http://modxcms.com/forums/index.php/topic,54392.msg314824.html#msg314824
@TomMLS @gotham111 & @junkend this looks just what you wanted
Hi allanb, that’s a totally different use case - an auto-responder/confirmation e-mail.
What I/we are looking for is a way to display the submitted form fields after redirect on another resource page.
This can be accomplished in one of three different ways:
1) Pass all of the submitted form values as URL parameters on the redirect [BAD IDEA]
2) Store the submitted form values in the session somewhere and then on the subsequent page, read them out again.
3) Store the submitted form values in the database and then on the subsequent page, read them out again.
Building a generic snippet for scenario 2 could mean all people could use it straight away.
For scenario 3, it would have to be done on a case by case basis as the schema for the table would be different for each case.
In my situation, I need to save the form to the database anyway so I’m going with option 3. Haven’t started yet though.