The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
incorrect Re Captcha Clears my form - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17) +--- Thread: incorrect Re Captcha Clears my form (/showthread.php?tid=1480) |
incorrect Re Captcha Clears my form - jimdiscinpa - Jul 27th, 2011 Hello. When I hit submit with incorrect re captcha all the form fields reset and user has to start all over again. http://www.freshcreativeinc.com/contact_freshcreativeapi.php this was an unlinked page, my website uses a non api version now until I solve this. No huge rush. Thanks RE: incorrect Re Captcha Clears my form - Ben - Jul 28th, 2011 Hi Jim, Ah! Did you come across this tutorial at all? http://docs.formtools.org/tutorials/api_refilling_form_fields/ Unfortunately, you need to explicitly re-fill all form fields when using recaptcha so that the information isn't lost after the user fills in the recaptcha incorrectly. It's a pain, but it must be done. - Ben RE: incorrect Re Captcha Clears my form - jimdiscinpa - Jul 28th, 2011 Thanks. Now at least I know I have it running correctly and that I did not have a problem with my form. RE: incorrect Re Captcha Clears my form - bwaye - Aug 16th, 2011 Having the same issue but have used the correct code: <input type="text" name="first_name" size="20" maxlength="50" value="<?=htmlspecialchars(@$fields["first_name"])?>" /> I wonder if the fact that I am using SPRY validation is causing the issue- RE: incorrect Re Captcha Clears my form - bwaye - Dec 9th, 2011 This makes no sense - rray ( [form_tools_form_id] => 19 [form_tools_submission_id] => 25 All of the values are present but reCaptcha still wipes out my data. Ben, what is the spam filter you are using on your demos. |