Catalogue-driven contact form

Post

Posted
Rating:
#9742 (In Topic #3431)
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’

dealing with spam

Greets!

I am using the contact form as shown in the video;



East and quick to setup, looks and works great.

Problem is I am getting hit by form spammers. I am researching how I can block keywords, have it include the visitors IP, etc but no luck.

Perhaps this is a basic form only and I should develop a more powerful contact form?  Would appreciate any suggestions and curious how others handle sform spam and contact forms..

Cheers and happy spring!

 

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years. 
Currently in Japan & decided to focus on Composr as my number one CMS.
Composr site for community of Hokkaido:  Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp

 
Online now: No Back to the top

Post

Posted
Rating:
#9744
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
There are a couple ways you can reduce spam on a catalogue contact form.

If you have Composr's CAPTCHA enabled, it will show up as a required field on the block according to your settings.

There is a more advanced method. You can also add in an extra field on the catalogue which requires some specific answer… e.g. ask a question in the field name which you can find the answer somewhere on the site. Then, after creating the field, find its ID (if you edit the catalogue, you should see the field # next to it. So the ID will be field_# .

Go in your Admin Zone > Setup > Field Filters. Follow this tutorial to create a field filter for your antispam field. For example:

Code

<qualify pages="members" types="view" fields="field_#">
    <possibilitySet error="Incorrect antispam answer" secretive="1">correct answer keeping in mind not to use commas,another acceptable answer</possibilitySet>
</qualify>

Replace the value of pages with the name of the page where your contact form is located, and replace type with its type (if applicable, or remove type if there is none). And set the field's ID.

I can't guarantee this will work; I have not tested it. But please let me know. If others have ideas please feel free to chip in.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,053 topics, 7,195 posts, 10,836 members
  • Our newest member is srinivas
Birthdays:
Back to Top