Forums

Google noCaptcha not validating CF5.017

john.murray 25 Sep, 2018
form is here: https://armedcitizensnetwork.org/ask-question

in form setup:
on load: added Load Google noCapcha before render html - entered in valid site key
on submit: added Check Google noCapcha - entered in valid secret, added event loop in on fail

designer:
adavanced: add recaptcha, moved above submit

site: joomla 3.8.12 / php 7.1

we are using the same site key and secret successfully on another component in the site

form fails validation everytime - what am i missing?
GreyHead 27 Sep, 2018
Hi John,

Everything on the front-end looks OK. Please double check the secret key make sure that there are no stray spaces.

If that isn't the problem please take a backup copy and post it here so that we can take a closer look.

Bob
john.murray 27 Sep, 2018
I copy/pasted both site key / secret from the joomla plugin, which is currently working. [file=11014]CFV5_FormsBackup_ON_https___armedcitizensnetwork.org_27_Sep_2018_08_02_54.cf5bak[/file]
<div class="form-group gcore-form-row" id="form-row-custom"><div class="gcore-input gcore-display-table" id="fin-custom"><h2>Ask a Question</h2></div></div><div class="form-group gcore-form-row" id="form-row-name"><label for="name" class="control-label gcore-label-left">Your Name</label>
<div class="gcore-input gcore-display-table" id="fin-name"><input name="name" id="name" value="" placeholder="" class="validate[&#039;required&#039;] form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-email"><label for="email" class="control-label gcore-label-left">Email Address</label>
<div class="gcore-input gcore-display-table" id="fin-email"><input name="email" id="email" value="" placeholder="" class="validate[&#039;required&#039;,&#039;email&#039;] form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-subject"><label for="subject" class="control-label gcore-label-left">Subject</label>
<div class="gcore-input gcore-display-table" id="fin-subject"><input name="subject" id="subject" value="" placeholder="" class="validate[&#039;required&#039;] form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-message"><label for="message" class="control-label gcore-label-left">Message</label>
<div class="gcore-input gcore-display-table" id="fin-message"><textarea name="message" id="message" placeholder="" rows="10" cols="40" class="validate[&#039;required&#039;] form-control A" title="" style="" data-wysiwyg="0" data-load-state="" data-tooltip=""></textarea></div></div><div class="form-group gcore-form-row" id="form-row-referal"><label for="referal" class="control-label gcore-label-left gcore-label-checkbox">How did you learn about the Network?</label>
<div class="gcore-input gcore-display-table" id="fin-referal"><div class="gcore-single-column" id="fclmn"><div class="gcore-radio-item" id="fitem"><input name="Referal" id="referal" value="internet" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="referal">The Internet</label></div>
<div class="gcore-radio-item" id="fitem1"><input name="Referal" id="referal1" value="magazine" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="referal1">Gun Magazine</label></div>
<div class="gcore-radio-item" id="fitem2"><input name="Referal" id="referal2" value="instructor" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="referal2">Firearms Instructor</label></div>
<div class="gcore-radio-item" id="fitem3"><input name="Referal" id="referal3" value="tv" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="referal3">TV Program</label></div>
<div class="gcore-radio-item" id="fitem4"><input name="Referal" id="referal4" value="other" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="referal4">Other [please specify]</label></div></div></div></div><div class="form-group gcore-form-row" id="form-row-other"><div class="gcore-input gcore-display-table" id="fin-other"><input name="other" id="other" value="" placeholder="" class="form-control A" title="" style="" data-inputmask="" data-load-state="hidden" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-recaptcha"><label for="recaptcha" class="control-label gcore-label-left">Are you Human?</label>
<div class="gcore-input gcore-display-table" id="fin-recaptcha">{ReCaptcha}</div></div><div class="form-group gcore-form-row" id="form-row-button12"><div class="gcore-input gcore-display-table" id="fin-button12"><input name="button12" id="button12" type="submit" value="Submit" class="form-control A" style="" data-load-state="" /></div></div>
john.murray 07 Jan, 2019
any ideas on this? capcha for this site is def working correctly on another shopping cart component.....
This topic is locked and no more replies can be posted.