HOW TO USE A COMBOBOX AS A QUESTION OBJECT

There are standard question objects in the catalog but what if you want to use something non-standard, such as a combobox for a question object? Will ToolBook permit this? Will ToolBook know how to handle scoring information for this object?

Well, ToolBook does not have a combobox question object and there really is no effective way to modify the behavior of a combobox so that it understands scoring and feedback behaviors - especially if you want it to work in DHTML, however it is possible to fake it. Essentially to fake this you will need to put a regular Question Object (such as the True/False question object) on your page and then have your combobox trigger the right or wrong answer of the TF question object, based on how the user interacts with the Combobox. This is all done using the Actions Editor (sorry Assistant users)...and actually the coding is very simple to set up.

The figure below shows a sample you can download that demonstrates this working as well as reveals to you how it is done.

This same technique can be used with other objects too, such as a List Box. 


DOWNLOAD COMBOBOXQUESTION.ZIP

  • This download contains one .TBK file.

  • You can examine how it works by hovering over the Show Code buttons in the sample application after you download it.

  • Download this 84K file   |   8.5/8.6    |   2004    |   9.0