by
KK » Wed Feb 20, 2013 9:26 pm
I'm glad it helped. Quite clearly it was a bot attack.
To protect the form from human spammers, I'll strongly suggest that you deploy the 'stopforumspam' method as well.
Assuming (as explained in the mentioned post) that you've downloaded and added the script using kfunctions.php, you'll simply need to add the following line to the existing code of your form (where 'name' and 'email' are supposed to be the names of the input fields):
- Code: Select all
<cms:stop_spam frm_name frm_email />
The code will now become:
- Code: Select all
<cms:if k_success >
<cms:stop_spam frm_name frm_email />
<p id='mail_success' class='success' style="display:block">Thank you. I'll get back to you as soon as possible.</p>
<cms:send_mail from=frm_email to=k_email_to subject='Feedback from your site'>
The following is an email sent by a visitor to your site:
<cms:show k_success />
</cms:send_mail>
</cms:if>
You mentioned:
The interval setting did not seem to act as a preventative measure - unless I misunderstood the purpose.
I replied to this in my first response that these measures are for the 'comments' feature - which is a separate entity altogether from the form that you are using for the contact page.