Slide to Register

Component ID

1800734

Component name

Slide to Register

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module is a collection of custom anti-spam triggers for the User registration form.

The module contains:

  • Slider Mechanic (CAPTCHA Alternative)
  • HoneyTrap
  • Email domain name check

The administration options allows you to enable or disable any particular component of the module.

Slider Mechanic (CAPTCHA Alternative)

The slider is based off of the Canadian Slider control v1.0a1 - Web Experience Toolkit (WET) and is meant as an accessible alternative to a CAPTCHA.

This works by including a jQuery slider control, which is keyboard accessible, that must be moved all the way to the right hand side before enabling the Submit button. In the case where a spam bot might post values directly, part of the forms validation function ensures the slider reaches the 100% mark.

HoneyTrap

This uses a simple blank field that Spam bots love to enter random text into. The validation step ensures this field must be left blank.

Email domain name check

This option allows administrators to limit the domain name of email addresses allowed to register.

I built this originally to limit registrations to a website from only Australian Government employees by validating the email address ends with '.gov.au'. However this could also be used to limit registrations to only '@company.com' for example.

Recently implemented a comma separated array so users can allow multiple domain names.

Current known issues

  • Slider is apparently not compatible with iPad device

Future plans

I plan to implement the following features:

  • Test compatibility with portable devices
  • Include based check to only show for non-authenticated users
  • Include ability for allow/deny switch for Email Domain check
  • Increase validation check around Slider control
  • Remove reliance on external JavaScript library