Hi there
I'm having a little difficulty with controlling how a user enters a specific word into a field.
As advised by Nathan, I would like to place a required field into my form code where the user has to enter the word "wind". (purely for spam purposes).
So far, I have created the field but how do I control the text to be only "wind"?
Here's my code as it stands. Currently any word can be typed into the field.

<input name="wind" type="text"

id="wind" size="18" value=""
tabindex="8" title="wind"

Thanks

can someone edit the tag on this question? — Andy Ford over 8 years ago

I don't have a specific action on the "wind" field. But what should happen is if the user types in (for arguement sake) the word "winde" and then selects the submit button, the error page should come up prompting that the word "wind" has not be typed in correctly and to go back to the form page and try again.

However, if the user does type the word "wind" in correctly, then when they select "submit", it goes to a thank you for your submmission page (currently doing this) and the form gets emailed to the client.

So, I am not really sure how to show the "wind" action in the form itself and I am not sure how to show this in the "formmail.pl" script if this is where the value is suppose be placed.

I was wondering whether anyone had an example of something similar where I could use that and customise to what our requirements are.

This is the website where the form resides: http://www.harbourwind.co.nz/register.html

PHP Forms - The best form creator & processor solution since 2003 http://phpforms.net
Create any kind of web form in several mouse clicks! Generate a code that can be easily copied and pasted to any web page
— stoy_v about 8 years ago