You are not logged in.
Pages: 1
We're working on our dev environtment to get reCAPTCHA set up. I've put the keys in the settings, confirmed they're stored in the DB. Added the js call in the head tag. The widget appears in the Form Builder but when dropped on a test form, this is what shows in the code and nothing appears on screen:
<fieldset>
<label>
Spam Prevention <span class="form_builder_required_star">*</span>
</label>
<p>Please help us prevent spam by using the reCAPTCHA below.</p>
<div class="g-recaptcha" data-sitekey=""></div>
</fieldset>
Offline
Hello,
I was having the same problem and what Tim recommended(https://www.bigtreecms.org/forum/viewtopic.php?id=580) fixed the issue for me.
Modify this line (in _header.php in the template):
$settings = $cms->getSetting("settings");
to
$settings = $cms->getSetting("com.fastspot.form-builder*settings");
My _header.php file was located in extensions/com.fastspot.form-builder/templates/routed/btx-form-builder/
Hope this helps.
Last edited by doon.mok (April 17, 2018 2:29pm)
Offline
Hi,
The problem here is why this: data-sitekey="" doesn't show the sitekey, even after modifying the code. I there a way to force it or just to have a wysiwig form element that you can put below the reCapthca?
Offline
Are you using the out of the box form builder or do you have a custom form builder?
My folder structure for the form builder
Out of box folder: \extensions\com.fastspot.form-builder\templates\routed\btx-form-builder\
Custom folder: \templates\routed\btx-form-builder
Offline
I'm using Out the box folder.
Offline
Can you confirm you added the site key and secret Key under Modules > Form Builder > Settings ?
Offline
Yes, I did!
Offline
Pages: 1