Forums

emails with no content on form that works when tested

kenmcmahon 12 May, 2020
I have a chronoforms 6 form installed on a Wordpress site. It's basically a contact form with fields for name, contact no, email address and some text. The first three fields are required. It also uses Google Recaptcha. The form works fine when tested and is emailed to the recipients list with all the data. However, we're occasionally receiving empty emails from the form. It's set to send HTML and when I look at the source here's what I see.

<html>
<head>
<title></title>
</head>
<body>
<table width="100%" cellpadding="5" cellspacing="3" border="0" class="ui table"></table>
</body>
</html>

I don't see how it's possible for the form to send unless the required fields have been completed or how it's sending without that data? Also don't see how it could be a bot because of recaptcha

This is making my client anxious as they think they might be missing valuable contacts. So I need to get it sorted ASAP. It's a difficult one to figure as when I test the form it works fine, then every so often these empty messages show up.

If anyone else has experienced this problem or has any ideas what may be causing it I'd be very glad to hear from you.

Cheers
Ken
GreyHead 13 May, 2020
Hi Ken,

I suggest that you save the form data to a database table and include the user IP address. That should make it possible to check for blank submissions and see if they are from bots.

You should also enable serverside validation if you haven't already done so.

Bob
kenmcmahon 18 May, 2020
Thanks for the quick response Bob, I'll give that a go.

Ken
This topic is locked and no more replies can be posted.