5
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

Dynamic Survey Design Survey is designed by the user Implementation through dynamic code i.e., database driven Hard code is often better Rarely

Embed Size (px)

Citation preview

Page 1: Dynamic Survey Design  Survey is designed by the user  Implementation through dynamic code i.e., database driven  Hard code is often better  Rarely

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

Page 2: Dynamic Survey Design  Survey is designed by the user  Implementation through dynamic code i.e., database driven  Hard code is often better  Rarely

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!

Page 3: Dynamic Survey Design  Survey is designed by the user  Implementation through dynamic code i.e., database driven  Hard code is often better  Rarely

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!

Page 4: Dynamic Survey Design  Survey is designed by the user  Implementation through dynamic code i.e., database driven  Hard code is often better  Rarely

Code for A Dynamic Text Box<cfoutput>

<div align=#dalig#>

<font size=#introtextsize# color=#introtextcolor#>

&nbsp;#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!

Page 5: Dynamic Survey Design  Survey is designed by the user  Implementation through dynamic code i.e., database driven  Hard code is often better  Rarely

Code for A Dynamic Text Box