Jan 30th, 2010, 10:33 AM
Hi John,
Sure! So would you like the email to contain a link to the summary page, or redirect automatically via the form?
But for the page itself, there's a handy API function that lets you do exactly this. It's totally fine to keep your form as a "direct" method, but the summary page will use the API. Give these two links a look over:
1. ft_api_show_submission documentation
http://docs.formtools.org/api/?page=ft_a...submission
2. an example with code:
http://demo.formtools.org/ (click on "ft_api_show_submission").
The trick is to pass the submission ID to the page so that it can be used in the function. This can be just passed via the query string ?submission_id=X.
Also, all of the above is assuming that security isn't a concern. If the information is private and you want to absolutely forbid hackers from viewing the information, we'll need to follow a slightly more stringent approach.
Sorry for the rather high-level help - let me know if you get stumped on anything & I'll try to lend a hand.
- Ben
Sure! So would you like the email to contain a link to the summary page, or redirect automatically via the form?
But for the page itself, there's a handy API function that lets you do exactly this. It's totally fine to keep your form as a "direct" method, but the summary page will use the API. Give these two links a look over:
1. ft_api_show_submission documentation
http://docs.formtools.org/api/?page=ft_a...submission
2. an example with code:
http://demo.formtools.org/ (click on "ft_api_show_submission").
The trick is to pass the submission ID to the page so that it can be used in the function. This can be just passed via the query string ?submission_id=X.
Also, all of the above is assuming that security isn't a concern. If the information is private and you want to absolutely forbid hackers from viewing the information, we'll need to follow a slightly more stringent approach.
Sorry for the rather high-level help - let me know if you get stumped on anything & I'll try to lend a hand.
- Ben