Skip to content

MultipleBranch

mmaness edited this page Jan 11, 2013 · 6 revisions

A branch which redirects question ordering depending on the response given in a previous question.

Format

MultipleBranch Name
  reference QuestionName
  traits
  • Name - the name of the branch, must follow the rules for constants (capitalized name)
  • QuestionName - the name of the question that this branch depends on, must follow the rules for constants (capitalized name)
  • traits - this block contains traits, which are statements that modify the branch's properties

Detailed Description

Trait Options

Example

MultipleChoice NumVehicles
  text "How many vehicles do you own?"
  choice "0"
  choice "1"
  choice "2"
  choice "3"
  choice "4 or more"

MultipleBranch VehicleBranch
  reference NumVehicles
  branch "0", NoVehicleReason
  branch "1", OneVehicleReason
  default_branch MultipleVehicleReason

Related Pages


Go back to Question Types

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