Hey All,
I have searched and searched and I am sure I overlooked it somewhere.
I am wanting to put an anti-spam thing on my contact form.
Something like 2 + 4 =
Then they have to put the answer (6) in the blank or the form will not send.
Is there anywhere I can read how to do this?
Heres what I have for the form:
Code:<form name="htmlform" id="contactus" method="post" action="mail.php"> <table width="450px"> </tr> <tr> <td valign="top"> <label for="full_name">Full Name *</label> </td> <td valign="top"> <input type="text" name="full_name" maxlength="50" size="30"> </td> </tr> <tr> <td valign="top"> <label for="company">Company *</label> </td> <td valign="top"> <input type="text" name="company" maxlength="50" size="30"> </td> </tr> <tr> <td valign="top"> <label for="email">Email Address *</label> </td> <td valign="top"> <input type="text" name="email" maxlength="80" size="30"> </td> </tr> <tr> <td valign="top"> <label for="telephone">Telephone Number</label> </td> <td valign="top"> <input type="text" name="telephone" maxlength="30" size="30"> </td> </tr> <tr> <td valign="top"> <label for="website">Website Address</label> </td> <td valign="top"> <input type="text" name="website" maxlength="80" size="30"> </td> </tr> <tr> <td valign="top"> <label for="comments">Comments *</label> </td> <td valign="top"> <textarea name="comments" maxlength="1000" cols="25" rows="6"></textarea> </td> </tr> <tr> <td colspan="2" style="text-align:center"> <input type="submit" value="Submit"> </td> </tr> </table> </form>



Reply With Quote
Bookmarks