Hi Murray - Just looking at your honeypot trick as posted elsewhere. Hope you don't mind me posting it here, but I assume its OK, as its in the public domain:
Here's how it works -
On my site, I have added two fields to my form -
1. <input type="text" name="address2" id="address2" class="special"
value="">
2. <textarea name="moreInfo" id="moreInfo" class="special">More
Info</textarea>
Both of these fields have been hidden BY CSS, e.g.,
.special { display:none; }
This way, a real visitor would not see these fields.
Then when I process the results of the form, if "address2" is not blank, or
is "moreInfo" is not "More Info", I discard the form, assuming that the only
entity that will see these fields is a javascript bot.
I have a form that submits to a service Salesforce (don't know if you know it), but it means the form action is set to a Salesforce URL.
If I'm adding the honeytrap fields above to the form, how do you do the processing to determine whether or not the form submits? It may be that it would have to be done on the page with the form, but in this instance that's not possible, as the form submits to a page I have no control over?
Thanks for any help with this.
You need a server side script to collect, process and transmit form data. The script determines how honeypot (hidden) field data are handled. On my forms, my PHP script sees data in the hidden fields and treats them as spam. Script stops executing. No form data is sent to the server.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
North America
Europe, Middle East and Africa
Asia Pacific