The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Tutorial: Showing Submission Info on your Receipt Page - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Tutorial: Showing Submission Info on your Receipt Page (/showthread.php?tid=2322) |
Tutorial: Showing Submission Info on your Receipt Page - DanceArt - Dec 20th, 2012 I would like to show submission info on the result page. I followed the tutorial, without result. I guess this tutorial only works with "Internal" forms? Is there a tutorial or post about how to accomplish this with "External" forms? RE: Tutorial: Showing Submission Info on your Receipt Page - bills - Dec 20th, 2012 Take a look here at the 'Pass On' checkbox: http://docs.formtools.org/userdoc/?page=...fields_tab The Pass On column is only needed for "direct" submissions. If your form posts the form content to process.php, this column lets you choose what information should be passed to the Redirect URL (found on the Edit Form ยป Main tab) in the query string. e.g. "If you had a form field called first_name and checked the Pass On column here, the redirect URL would become something like http://www.yoursite.com/thanks.php?first_name=Tom. This lets you access the form submission data on your "thank you" page." Then just grab the submission data in your result page like this: $first_name= $_GET[first_name]; And display with: echo $first_name Works with External and Internal - as long as you use the Pass On checkbox for the fields you wish to show on your results page. RE: Tutorial: Showing Submission Info on your Receipt Page - DanceArt - Dec 20th, 2012 bills, thanks a lot! I was using API to send the form. Didn't realize that that was the reason why it didn't work. |