Aug 14th, 2009, 5:43 AM
(This post was last modified: Aug 14th, 2009, 6:15 AM by sergiozambrano.)
Ben:
Using your code (I've deleted captcha to isolate the error) the invalid form retrieves no data.
print_r($fields) shows form and submission id ONLY after the form is reloaded with the error, as any new form.
Although, all the form data is printed when a valid form with wrong captcha is sent… but ONLY leaving the page and browsing back to it. (captcha not fixed)
Also, you should mention that you need the word "submit" inside the if isset($_POST… line
matching your submit button "name" attribute.
Is there any chance it's not working because the form is inside an iframe? (it loads the thank you page fine inside the same iframe)
Using your code (I've deleted captcha to isolate the error) the invalid form retrieves no data.
print_r($fields) shows form and submission id ONLY after the form is reloaded with the error, as any new form.
Although, all the form data is printed when a valid form with wrong captcha is sent… but ONLY leaving the page and browsing back to it. (captcha not fixed)
Also, you should mention that you need the word "submit" inside the if isset($_POST… line
matching your submit button "name" attribute.
Is there any chance it's not working because the form is inside an iframe? (it loads the thank you page fine inside the same iframe)