Mar 21st, 2017, 8:30 AM
Hi Chris -
Are you using the API? (Do you have a form on your website submitting to the database?). If so, the tutorial shows you what code to add to your existing PHP form. Just click on Step 2: Adding a CAPTCHA to your form. Since it is supported natively by FormTools, there isn't a lot to do, really. Just add the few pieces of code to your form and that's about it.
Alas, that code will add the old version of Google captcha to your form. It works okay, but it's out of date.
My reply was about attempting to code the NEW version of captcha into my forms (it's not natively supported by FormTools, yet). However, I was unsuccessful. So I have to wait and see if Ben plans to update the FormTools core to support the two newest versions of captcha, with backwards compatibility to the previous version. It may actually make more sense to offer the majority of captcha code as a module to FormTools, so the module can be updated separately from the core, when the captcha changes in the future. Then again, captcha's don't change very often, so leaving it in the core is probably fine.
Are you using the API? (Do you have a form on your website submitting to the database?). If so, the tutorial shows you what code to add to your existing PHP form. Just click on Step 2: Adding a CAPTCHA to your form. Since it is supported natively by FormTools, there isn't a lot to do, really. Just add the few pieces of code to your form and that's about it.
Alas, that code will add the old version of Google captcha to your form. It works okay, but it's out of date.
My reply was about attempting to code the NEW version of captcha into my forms (it's not natively supported by FormTools, yet). However, I was unsuccessful. So I have to wait and see if Ben plans to update the FormTools core to support the two newest versions of captcha, with backwards compatibility to the previous version. It may actually make more sense to offer the majority of captcha code as a module to FormTools, so the module can be updated separately from the core, when the captcha changes in the future. Then again, captcha's don't change very often, so leaving it in the core is probably fine.