FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using FT with wordpress
#1
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!
Reply
#2
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
Reply
#3
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.

Cheers,

Joe
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)