The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
recaptcha error notification - 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: recaptcha error notification (/showthread.php?tid=4164) |
recaptcha error notification - southshoremedia - Jul 15th, 2014 Hello, I found this thread - http://forums.formtools.org/showthread.php?tid=437 - which shows how to display custom content depending on the presence of the recaptcha error variable. is that strictly just for the api? i'm using the process method, and that code won't display anywhere. as i'm using bootstrap on a site, i want to show a glyph and red box but only if there is an error. this code worked fine on another site, but its using the api: PHP Code: <?php if (!empty($g_api_recaptcha_error)) { ?> using the code from the page i linked to displays nothing. another thing worth noting, and this was more me not thinking ahead, but for what i'd doing, the contact form displays in a bootstrap modal box. when the page is reloaded on error, the user wouldn't see the notification without opening the modal, that's why i have to move it. |