Functional Spec
Version 0.5
Myles Chippendale
23rd Aug 1999
The system will perform some action when a field is
filled in on the questionnaire. The actions which can
be performed are:
- Play a sound
- Display an image
- Trigger the playing of a Flash movie
Which of these options are used (and which particular resource -
sound/image/movie) depends on whether a particular field
on the form (usually the field being altered) contains
a particular keyword or not. For instance, if you have
nominated "Gomez" for best band, you might want to play
a cheer, but it someone enters Steps, you might want to
play a Boo sound.
To facilitate the re-use of this code, the scripts can
be configured using a simple mechanism involving registering
"rules". E.g.:
add_rule("q1","","gomez","image","good.gif");
(this says to display the "good.gif" image when the field
called q1 contains the string "gomez").
Document Dated: Mon Aug 23 14:50:29 1999
Modify this document