Forms – Contact form with double error messages

Hi,

I have tried my first Form to build a test Contact Form. Thank you! It works!

The only thing is that it shows double error messages. On the back end with Error Simulator there are single error messages but on the front end they are double…

Testing page: https://dharmaebooks.org/testing/

Also, is there a way to chage the error messages? I mean for example: “is a required field” to something else?

Best wishes,
Beata

Hello Beata,

It looks like you have enabled the “Required” options and added the validation message as well. I would suggest you disable the " Required " settings in the Input field and add the custom message only. Please have a look at the given screenshot below.

Hope it helps
Thanks

Dear Prakash, thank you very much for your help. It solded the issue. I have also managed to set up an email action to forward all the message data to admin email address and it also works.

I want to also say that I use Turnstile from Cloudflare for a few years now and I really appriaciate that this was added to the Settings.

There is one more problem you can see on the screanshot. When the message is submitted the email addresses featured on the left side turn into: [email protected]. How to solve it?

Beata

Hey Beata,

The problem may stem from the email provider you are using, which converts the email address to “[email protected]” for some reason. What email SMTP plugin are you using at the moment?

Best Regards.

Hi,

I use fee version of Easy WP SMTP. But it not a problem.

I have foud out that Cloudflare does it: https://developers.cloudflare.com/waf/tools/scrape-shield/email-address-obfuscation/

So I have used one of the sollutions they provide, to use [email protected] instead of typing an email address alone. And it works! Solved.

Thanl you!

PS. I think that from the security point of view it would be better to use this sollution:

  • Return email addresses in JSON format for AJAX calls, making sure your web server returns a content type of application/json .

But I don’t know how to do it yet… I am not a proffessional webmaster.

Hey @tashitendrel,

Good to know that you have resolved the issue.
We will take note of the feedback.

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.