Skip to content

add_default_answer

mmaness edited this page Oct 8, 2011 · 4 revisions

A question trait which provides a default answer if the respondent explicitly specifies he is unable to answer the question. Provides an option to respondents of "I do not know" by default or a specified message.

Format

add_default_answer answer
add_default_answer answer, message
  • answer - the default answer which should be inputted if no answer is provided. This answer can be a string, number, or variable.
  • message - the message to provide to respondents which corresponds to providing the default answer. This parameter is optional, the default message is "I do not know".

Detailed Description

Trait Options

None

Can Be Used With:

Example

Integer Education
  text "How much energy, in kWh, does your household use per month?"
  add_default_answer "N/A"
Integer Income
  text "What is your household's total income?"
  add_default_answer -1, "I do not feel comfortable answering this question"

Related Pages


Go back to Question Trait

Home | JULIE Intro | Getting Started with JULIE | JULIE References | JULIE Development | Survenity Language