Home > Content Management Tips > Using Captcha on forms

Using Captcha on forms

One common method of preventing internet users from spamming your internet forms is to provide a Captcha Interface.

It is simply a method by which the user has to enter text that matches the text that is presented in an image.

Since the automated programs that are filling out the forms (called bots) have difficulty in recognizing content in an image.  A random image is created with text characters and presented to the user. The user then is required to type the text in that matches the image. Only if the Text matches the text in the image will the form be accepted.

4Intranets now provides a Captcha mechanism that can be place the the forms that are generated in admin.

You can implement a Captcha form by following these steps.

1. The Form name needs to be “CaptchaForm”

2. You need to place the following Curly Bracketed fields on your form

{Captcha}

{CaptchaAnswer}

{CaptchaStatus}

3. Finally you need to place the following code on your submit button

 onclick=”return LBD_Validate();”

If you do these steps your form should be Captcha enabled and only by entering the correct text should the user be able to submit the form.

This should elimnate the automated bots from spamming your form.

Advertisement
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.