| Security Issues
This script relies on Apache's web server security
system. There is no additional security beyond that. This security is often
adequate, however if security is a serious issue for you then you should
read up about Apache's security from their website. The author of this
software takes no responsibility and makes no claims in relation the
appropriateness, or secureness of this software. In short, you should
consider this script to be insecure unless you can take steps otherwise.
|
Creating Surveys
- Planning a survey
The key to creating an entering a survey using Surveyor is planning. Work
out all the questions you will be asking, how they will be answered, and
the order in which you want the questions to be asked. Give each question
a consecutive number, which you can then use as your question code. Plan
the manner in which survey participants will be able to answer questions.
- Basic Survey Structure
A survey created in Surveyor consists of the following:
(A) A survey title
(B) Groups within the survey (there must be at least one group)
(C) Questions within each group.
(D) Possibly pre-defined answers.
When you first create a survey, you will be asked for a Survey Title, and
a description of the survey.
Before you can add any questions to your survey you must create a group.
If you will only have one group in your survey, then how you name this
group is irrelevant (except of course for show). If, however, you are
going to have multiple groups, you should note that the survey questions
will be displayed by group, and the groups will be displayed in
alphabetical order. So, if you really need the groups to be displayed in a
particular order, consider naming them with an alphabetic start such as "A)
Questions about you" and "B) Questions about health". Doing it
this way will ensure that your groups are displayed in order. If, for
example, you entered the group names as "Questions about you" and "Questions
about health", the "Questions about health" group will display
first, because alphabetically it comes first. Surveyor is designed to do
this deliberately, because it allows you to add extra groups in later, and
arrange their positioning by adjusting the title. For example, you could
squeeze an extra group between the two by naming it "A1) Questions
about your history".
You can create as many groups as you like.Groups can also
include a "description". This field allows you to publish an explanatory
note for any set of questions. If you add a description, then when the
public are using the public survey system, they will be presented with
that explanation before commencing any of the questions in that group. If
you do not include any text here, then public participants will simply
move on to the first question in the group with no stop.
Once you have created your groups, you can start adding questions.
When adding a question, you will be asked for a "Question Code", the
"Question", "Help" and a "Question Type". All new questions are assigned
to the Group you were viewing when you clicked "Add Question", however you
can change the group the question belongs too at a later point.
- Question Code: Your ID, or number or code for the question. This
field is important, because the entry in this will determine the
positioning of the question in your survey. Again, numbering this "Q1",
and following questions "Q2" and "Q3" will ensure that they appear in
the correct order. Using this system allows you to add in extra
questions as an afterthought by giving them a code such as "Q1a". Try to
be consistent with your coding in this field. Planning makes this
process a lot easier.
- Question: This is the actual question being asked. There is no
real limit to the length of the question here, however if you want to
explain the question, leave that for the next field.
- Help: This is an optional field. It is useful if a question needs
some explanation, or you want to explain how it should be answered. When
you put text in this field, a "Question Mark" icon appears on the survey
entry screens, and clicking on this allows the survey participant (or
data entry person) to read the help.
- Question Type: This determines the type of response the survey
allows. It includes pre-determined options as follows:
- 5 point choice - provides a pre-configured 1 - 5
choice list for questions requiring a 1-5 rating answer.
- Date - takes
date figures. Note that the date must be entered in "YYYY-MM-DD"
format.
- Gender -
Provides a pre-configured Male/Female choice
-
List - Allows you to enter a series of pre-determined answers
from which the survey participant can choose only one.
-
List with Comment - Presents a series of pre-determined answers
from which the survey participant can choose only one, but also
provides a comment box for survey participant to explain their choice,
or comment on their choice.
-
Multiple Options - Allows you to enter a series of pre-determined
answers from which the survey participant can choose more than one
-
Multiple Options with Comments - Allows you to enter a series of
pre-determined answers from which the survey participant can choose
more than one, and make a comment on each one
- Short Free Text - a short text field -
can take 100 characters.
- Long Free Text (default) - a long text field - unlimited in size and useful
for free text answers.
-
Yes/No - Provides a pre-configured Yes/No choice
-
Array (5 point choice) - allows you to enter a series of
pre-determined answers from which the survey participant can rate from
1 to 5
-
Array (10 point choice) - allows you to enter a series of
pre-determined answers from which the survey participant can rate from
1 to 10
-
Array (Yes/No/Uncertain) - allows you to enter a series of
pre-determined answers from which the survey participant can choose
Yes, No or Uncertain as responses
You can create as many questions as you like.
When you have created a question that uses pre-determined answers (ie:
dropdown list) you can then add answers to that question.
When adding an answer you will be asked for an "Answer Code", an "Answer"
and whether that answer is the "Default".
- Answer Code: This is the data that will usually be
exported to your spreadsheet when compiling results. You may choose
whatever code you want (1 character maximum). Naturally you are limited
to around 36 answers per question due to this 1 character limit unless
you choose to use non-standard characters.
- Answer:
The answer that will be displayed. Importantly, the order of the answers
is determined alphabetically by this field, not by the "Answer Code"
field, as previous sections would suggest. One way to control the order
in which questions appear is to write them like this "A) 15 years", "B)
20 years" and so forth.
- Default: One answer from
all can be chosen as the default answer (ie: this one will be chosen and
entered into your survey results unless it is changed). Change the
Default field to "Y" if you want this answer to be the default answer.
If you don't choose any default answer the survey result will record
nothing if one of the answers is not specifically chosen.
|
| Activating a Survey
Once you are happy with the structure of your survey you
can activate it. Activating a survey does a number of things.
- It creates a seperate MySQL table to hold all survey responses,
and gives each possible answer to the survey a field in that table.
- It allows people to enter data into that table, and
gives you access to other features for the survey, including browse and
token facilities.
- It gives you access to the "tokens" feature. Once a survey is
activated, the "tokens" button will be available (see section on Tokens).
Before you activate a survey you should note the
following points:
- When the survey is initialised you can change the
text for questions, answers, the survey etc, but not the type of question
or the type of answer.
- You cannot add new questions or delete questions.
Nor can you add answers to any of the array or multiple choice questions.
|
| Tokens On many
occassions you will want to invite a group of people to participate in your
survey, and keep track of who has voted, and ensure that each person can
only participate once. Tokens can be setup once a survey has been activated.
The tokens feature allows you to do the following:
- Import a list of names and email addresses for participants (from a
CSV file) or add/remove individuals
- Generate a unique token number for each participant
- Send an email invitation to each person in your list
- Track who from your list has responded
- Restrict access against people who have not got a token, and those
with a token who have already voted.
- Edit/change any details in your list
Once you enable tokens for a survey, then the only people who can access
the survey are those who have been issued a token number. Access to the
public script will rely on the participant being able to provide their
unique token id.
Tokens do not enable you to draw any link between the survey reponses
provided and the identity of the person who completed it. When a survey is
submitted by a participant, their data goes into the specific survey table
without any token id, and their token is updated in the token table simply
with a "Y" to indicate that they have completed the survey.
|