Upload
jordan-lewis
View
212
Download
0
Embed Size (px)
Citation preview
Dynamic Survey Design
Survey is designed by the user
Implementation through dynamic code• i.e., database driven
Hard code is often better
Rarely totally dynamic
Variable Database (VDB)
VDBVariables can include:
Number of pages in the survey Number of questions Type of Questions (radio, text, pulldowns, etc.) Introductory text Validation Colors, fonts, styles, etc. ….
User defined variables
Can be entered through
a web interface!
The Dynamic ConceptVariable
VDB
Code callsvariables
Code OutputsSurvey
LDBLook-up
Code StoresResponsesRDB
Response
Data is sent to your stats package& basic stats are performed! (FTP?)
Remem
ber not
everything needs
to be dynamic!
Code for A Dynamic Text Box<cfoutput>
<div align=#dalig#>
<font size=#introtextsize# color=#introtextcolor#>
#introtext#
</font>
<br><br>
<cfinput type=#typ# name=#nam# align=#alig# required=#requir# message=#messag#
size=#siz# maxlength=#maxlengt#>
</cfoutput>
Can be stored in
your LDB!
Code for A Dynamic Text Box