Contact form 7 Submission errors

Hi!

I am using contact form 7 on my contact page. To the best of my knowledge, it is confiured properly. However, it seems that when I add telephone number and URL fields the form gives a try again later error and does not submit. If a new contact form is created without these fields it submits with no problem. I would also like to possibly add Askimet to the form as an extra layer of security. What am I doing wrong? My website is https://www.keianienterprises.com/

Blockquote
Your Name (required)
[text* your-name placeholder “Your name here”]

Your Email (required)

[email* your-email  placeholder "Your email here"] </label>

Your Telephone number (required)
[number* your-numnber placeholder “123-456-7890”]

Your Url (required)
[url* your-url placeholder “www.example.com”]

Subject
[text your-subject placeholder “Your subject here”]

Your Message
[textarea your-message placeholder “Leave a note…”]

[recaptcha class:bar theme:dark]

[submit “Send”]

Hi there,

mmm… Your settings seem to be correct. Maybe the ReCaptcha is the problem cause? I would suggest that you change the theme from X to something else and test the case.

That way you will make sure if it is indeed related to the form itself or something n our theme code made the error.

If the problem persists with another theme I would suggest that you contact the Contact Form 7 support as they will give you a better insight regarding their plugin as they are the developers of it and have more experience regarding their code compared to us.

Thank you for your understanding.

Hi, Christopher!

The problem was definitely recaptcha and I wish I could use it to prevent possible spam. It was configured properly yet still created the form error. Any suggestions on using Akismet that won’t cause such errors? I also notice that if I make the website, telephone number required the form won’t submit. The issue with that is if the fields are not required, but actually filled out they do not appear in my email when the form is submitted. Can you please send me a test email with all fields filled in so I can share a screenshot of what I’m referring to? https://www.keianienterprises.com/contact/

Hi There,

Could you please try following this guide (https://www.ostraining.com/blog/wordpress/contact-form-7/) and setup a form with captcha.

Hope that helps.

Hi, Mldarshana!

That was the method used for adding recaptcha. I removed it from my website for now because it was killing my SEO. I’ll try to add it again at a later date. However. I need to know why the fields that are not required do not appear in the contact form when I receive an actual email from the website. I have attached a screenshot.
Below is the actual form.

Hi there,

Adding the fields in your form will not add them to your email message, you will have to add them to your email template manually too for it to appear.

It’s under Mail tab when you edit your form, similar to this

Example, you can compose it like this

From: [your-name] <[your-email]>
Subject: [your-subject]

Message Body:
[your-message]

[your-numnber]
[your-url]

--
This e-mail was sent from a contact form on Theme Testing Dev (http://local.dev/themetest)

Thanks!

1 Like

Hi, Rad!

Thanks for helping me figure out how to get the form working. All fields including phone number. recaptcha, and website are now working properly whereas they show up in my email when submitted through the form. However, I have added the file attachment options so that users can upload pdf, jpg files, etc. The fields are correct, but the attachments do not appear in my email.

Hi There,

You need to follow this guide for file upload (https://contactform7.com/file-uploading-and-attachment/).

Let us know how it goes.
Thanks!

Hi!
I have already done that which is the reason I posted the screenshot. I need to know why the attachments are not showing up in my email. If I did something wrong can you please login and check it on your end so I can make the necessary adjustments and get the form working. I have attached screenshots of what’s currently in the forms. Please view my contact page here https://www.keianienterprises.com/contact-us

Hi there,

Did you check the link @mldarshana provided?

It contains the info about to setup a file attachment to the email and based on your screenshot, you added it in the message body. It should be in the File Attachments field.

Hope this helps.

Hi!

Thanks for your help. I was able to set up the attachments form properly. I had the tags in the wrong place at first. I have attached screenshots to show the updates.

Lastly, I need to know how to properly add a placeholder to the quiz tag. The tag itself works properly and it has a label I would just like to add the placeholder like in the example.

Hi,

You can try this third party plugin.

Hope that helps.

Hi, Paul!

Is there a way to do it via tag like the example above for your message by using the word placeholder? I would prefer not to add an additional plugin.

Hi there @fantasy_5,

Unfortunately this wouldn’t be possible without custom development or use of a third party plugin.

I wouldn’t recommend the plugin above though as after testing it doesn’t actually work with the latest version of Contact Form 7. This one should though: https://github.com/thednp/contact-form-7-enhancements

Thanks!

1 Like