Enabling the Select (or other) module

We may find that the standard select options on our forms cannot satisfactorily handle all situations. For instance, on our example Speaker Registration form we have an honorific title select list which covers all the basics (Mr, Mrs, Ms, and so on.). This list does not adequately provide for persons who require additional options, such as those in the military who need to be addressed by their rank, for example Sgt, Lt, or Capt.

The Select (or other) module enables our form users to enter their required title when it does not appear on our list of options.

Getting ready

Let's proceed to the project home page to download, install, and enable the module: http://drupal.org/project/select_or_other.

How to do it...

On our Title component edit page we now have two new configuration options.

  1. Let's enable the Allow "Other..." option functionality and update the text as per the following screenshot:
    How to do it...
  2. Make the configuration changes effective by clicking on the Save component button.

How it works...

Let's view our Webform to see the functionality in action. When we click on the title selection list we see that our list has an extra option reflecting the text we specified on our component edit page. As we select the Other (please specify below) option, a new text field appears for us to enter a title that does not appear in the existing list.

How it works...

There's more...

This functionality is now available to any select components on our Webforms, including checkbox lists and radio button lists.

Analyzing submissions

Not only has our form functionality been updated, but so has the submissions analysis page. A count of any Other (please specify below) options that have been entered will display on the standard analysis page. When we click on the view link next to the count we will see a breakdown of the new options that have been entered.

Analyzing submissions
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset