FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Data recap after submission [on thank you page]
#1
Hi Ben and Co.

Just got to say, what a wonderful web application this is. I'm an avid fan and just want to applaud you first of all for the time and effort you put into it.

I just have a quick question. When the user submits a 'submission' and it redirects to a thank you page, I was wondering, is there a way to display the user's entered data after submission on the 'Thank you' page.

i.e a recap of what they have submitted.

Any advise or direction would be greatly appreciated.

Cheers
vizz.
Reply
#2
(Jan 25th, 2010, 12:03 PM)vizzaroo Wrote: Hi Ben and Co.

Just got to say, what a wonderful web application this is. I'm an avid fan and just want to applaud you first of all for the time and effort you put into it.

I just have a quick question. When the user submits a 'submission' and it redirects to a thank you page, I was wondering, is there a way to display the user's entered data after submission on the 'Thank you' page.

i.e a recap of what they have submitted.

Any advise or direction would be greatly appreciated.

Cheers
vizz.

For what it's worth, I'd look at the following ideas:

If you want to display the data after submission then you need to bear in mind that the data (session?) will be cleared at the 'thank you' stage. Maybe, you could temporarily write the data somewhere, before bringing it back - post-'thank you'. I only suggest this as I am looking at a temporary way of remembering some user details.

Alternatively - maybe you could adapt the submission module so that it does this.

Final thought - the validation routine, does, I think do something similar by repopulating fields, so that might give you some clues.

Hope some of that helps.

Martin
Reply
#3
Hey vizzaroo,

Thanks for the kind words! I really hope it works out for your project. Smile

Yeah - Martin's quite right about the sessions being emptied on the "thankyou" page, but since that's done at the very top of the page, you can do what he suggests fairly easily. You could just grab the unique submission ID of the form prior to the ft_api_clear_form_sessions() function call, so you'd have it available later on in the page. You could then call the ft_api_show_submission() function in your page at the appropriate spot. The form ID & Export Manager ids would all be hardcoded.

I haven't actually confirmed this would work, but I don't see why not...

All the best,

- Ben
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)