Discussion on Ultimate PHP, HTML5 & AJAX Contact Form (Bootstrap Edition)

jigowatt

jigowatt supports this item

Supported

65 comments found.

Hi jigowatt,

We have a site in two languages, English and German. How do I change the language of the ReCapcha ? For the rest I am quite pleased!

I have this piece of code: <noscript> <!- change YOUR_SITE_KEY with your google recaptcha key -> <iframe src=”https://www.google.com/recaptcha/api/fallback?k=6LdLeSMUAAAAAG2t2qRL14mLIWGMxixi1Ti3Zh1E” style=”width: 302px; height:352px; border-style: none”;”> </iframe> <textarea id=”g-recaptcha-response” name=”g-recaptcha-response” class=”g-recaptcha-response” style=”width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;”></textarea> </noscript>

Where do I have to insert the hl=de tag? Please help me out. Best regards, Jan Kuiper Webmaster of vecinosmp.com

Hi,

I want to change the language of the Captcha. How do I do that pls?

Thanks! Jan

Hello, reCaptcha’s language is based on your browser language settings. This is ideal behaviour because it gives the control of which language to the user… Ideally, it’s best to stick with this instead of enforcing a set language on all users.

is it possible to show confirmation page before submitting form?

Hey,

What would be the purpose of this? The confirmation page is design to confirm that the form has been submitted.

Thanks.

It’s to show user what they entered and what will be sent. Let me know if possible. Its standard practice in Japan. Regards

Hey,

At the moment it’s not going to do this. It would be possible to customise it but not within the realms of Envato support.

Thanks.

Hello,

In your demo index.html file, any errors in form validation are displayed in the form’s page, by putting content into the “empty” message div just above the form.

Our theme that I’m applying the form to, is also a bootstrap theme, although admittedly it’s version 2, not 3… But with the message div being part of the code copied into my page, I’d expect the validation errors to display in there anyway (even if stying was different).

Instead I get taken to the URL of the process.php file and I’m informed there of the validation errors.

Is there a setting I need to tweak, to have the validation errors appear inside that empty message div?

Cheers, m.

Ah! It appears it the fact that I’d removed (from the header) that line of code that called for the jquery min file.

Hello,

I am getting:

The reCaptcha response from Google can’t be accessed by process.php Your hosting provider may be blocking cURL and/or file_get_contents() – please verify this with them. Please contact us after you have spoken to your hosting provider

...when trying out the contact form on my website server.

I have raised a ticket with the hosting support and their response has been:

Thanks for the information.

You can view our shared server configuration at the link below:

http://vhost15.yoursitepreview.net/info.php CURL is enabled, so it would be best to get in touch with the creator of the Contact Form Script so that they can take a further look.

In my innocence, I believe having it enabled and blocking local communication might be different things.

The actual reCaptcha response was:

{ “success”: true, “challenge_ts”: “2018-04-06T14:45:48Z”, “hostname”: “www.mjwebbassociates.com” }

Regards, m.

Hi, it seems the hosting people have cured it at their end, we should be “good-to-go”!

Thanks for keeping us posted. Do you know what they updated to fix it?

To quote the support guy:

“Ok that should be all sorted now. For some reason the root certificate on that server did not contain the certificate it needed. We forced the server to reinstall the certificates and the issue is now resolved.

Apologies for the problem!”

by
by
by
by
by
by