The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Using FT with wordpress - 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: Using FT with wordpress (/showthread.php?tid=4650) |
Using FT with wordpress - 5k313t0r - Sep 23rd, 2014 I have a form built in a page in Wordpress. I have included require('tools/formtools/global/api/api.php') before the get_header() hook and everything seems to be working. That is until you submit a form where the CAPTCHA being displayed with ft_api_display_captcha() function has been entered incorrectly. On other forms that I have built when you return to the page you can use the session variables to fill back in the form fields and the ft_api_display_post_form_captcha_error() function displays an error. Not having any luck using this in wordpress. The $_SESSION["form_tools_form_data"] values don't seem to exist. Is this maybe because of the fact that wordpress doesn't use sessions by default? Anyone able to help point me in the right direction please? Thank you in advance! RE: Using FT with wordpress - Joe - Sep 24th, 2014 The WordPress module needs to be updated. It has issues with the most recent version of WordPress and does not work. One of the many items on our to-do list. Cheers, Joe RE: Using FT with wordpress - 5k313t0r - Sep 24th, 2014 Hi Joe, Thank you for getting back to me. I should have clarified that I am not using the Wordpress module/plugin. Sorry. I have just built an html form that I hard coded in a custom page template page-contact-us.php and the form posts to process.php. I am just not getting process.php returning any values in $_SESSION["form_tools_form_data"] when the captcha fails and I am redirected back to the form page. Is this still just a compatibility issue with WP? Or is there something I can try/do to make sure the form values are passed back to the page to refill the form fields? Thanks Joe, Justin (Sep 24th, 2014, 4:21 PM)Joe Wrote: The WordPress module needs to be updated. It has issues with the most recent version of WordPress and does not work. One of the many items on our to-do list. |