-
eriedioceseAsked on August 4, 2015 at 2:40 PM
Right now we have several HTML-to-Email forms that exist on our website. I'd like to move them to Jotform.
In the script behind each form I have an if statement that checks a field named strofcuse. If it's blank, the email is sent onto the intended recipient. If it is not blank, the message is forwarded to me. I faked our addresses in the code below as domain.com
if (strofcuse = "") Then
ObjSendMail.To = "recipientaddress@domain.com"
Else
ObjSendMail.To = "administrator@domain.com"
end ifThe purpose of this script is to stop email filled out by robots from being delivered to my users. It scares them and causes a support call I can do without. Since robots can't help themselves from filling out every field in a form it works pretty well. This script stops 40 or 50 email a weekend.
Are robots a worry with JotForm forms? If yes, is there any way to do what I want to do?
-
David JotForm SupportReplied on August 4, 2015 at 3:14 PM
Hi,
Spammers can be a nuisance for anything out there publicly but there are a few ways to deter them.
To replicate the functionality of your script, you can have conditional email notifications:
http://www.jotform.com/help/167-How-to-send-to-a-specific-email-address-based-on-a-selection
This would allow your submissions to be forwarded to different addresses depending on entries (or lack there of) in your form.
You can also limit submissions to one per IP or email address:
http://www.jotform.com/help/64-How-to-Set-Unique-Submissions-on-a-Form
If you have any further questions, let us know and we will be happy to help.