May 9th, 2011, 7:24 AM
Hi Joe,
Good call - I should really write a tutorial on that!
In essence, the process is exactly the same as with adding POST forms:
http://docs.formtools.org/tutorials/addi...page=step3
You just need to add those two hidden variables to your POST request: form_tools_form_id and form_tools_initialize_form/
In the past, I've found the trickiest part is knowing whether or not your Flash script is actually sending the form data to the process.php file. What I'd suggest is using Firebug (the Firefox plugin) and look at the "Net" tab to see what requests are going on behind the scenes, or write a separate PHP script that just emails you the contents of the POST and submit it to that file as a test.
Sorry for the rather high-level advice... I will write a tutorial at some point!
- Ben
Good call - I should really write a tutorial on that!
In essence, the process is exactly the same as with adding POST forms:
http://docs.formtools.org/tutorials/addi...page=step3
You just need to add those two hidden variables to your POST request: form_tools_form_id and form_tools_initialize_form/
In the past, I've found the trickiest part is knowing whether or not your Flash script is actually sending the form data to the process.php file. What I'd suggest is using Firebug (the Firefox plugin) and look at the "Net" tab to see what requests are going on behind the scenes, or write a separate PHP script that just emails you the contents of the POST and submit it to that file as a test.
Sorry for the rather high-level advice... I will write a tutorial at some point!
- Ben