PackageDescription: Survey
SurveyLast published: November 3, 2003 by 'jamesr'
Defines 7 Classes
Extends 7 Classes
This package contains the code for the Cincom Smalltalk Survey App. The application is extremely simple - it builds a survey form based on a textual question file like this:
Survey Topic Here
q=+What do you think?
a=something
a=nothing
a=lots
a=other
q=-Do you think?
a=yes
b=no
The "+" indicates a multiple choice question, using radio buttons. The "-" indicates a single choice question, using check boxes. If a choice of "other" is given, a multi-line text field will appear there.
Answer parsing is done by comma - this should really be changed.
The following SSP files are assumed:
SurveyMain.ssp (creates the questionnaire)
SurveyResults.ssp (creates link page for results, depends on backSurveys.ini - see SurveyFileInformation)
SurveyAnswers.ssp (answers for an incoming survey)
SurveyGraphAnswers.ssp (graphed answers for incoming survey)
SurveyLatestAnswers.ssp (answers to current survey).
SurveyStorage contains most of the api code