web form spam
Hi I am a novice CF dude. I have a web registration form that gets bogus registrations and I am trying get my users to type in a word to help limit spam. I am not sure how to do this and google and the forums do not show any cf examples.
I have tried various versions of the following
<cfset enter="alignment">
<p><em>Please enter the word <cfoutput>#enter#</cfoutput> in to the field below to help us limit spam.</em></p>
<br />
<div class="register">
<label for="enter">Enter alignment:</label>
<cfinput type="text" name="enter">
<cfinput type="hidden" name="enter_required">
</div>
If a user does not fill in the field, it will not submit. However, it will accept any text and I want it to except only alignment. any help most appreciated.
Jim
