Date Time Question

Overview

Date Time Questions are used for the surveyor/respondent to manually enter a specific time or date that as part of the questionnaire, for example:

What is your birth date?’

Question Node

The Tab’s

Each question has a set of tabs; each tab is used for different configurations – let’s go over the tab’s.

The View tab

In the view tab you can configure the basic components of a question, such as its body text and its answers.


Question Type & General Settings

In the main panel, you can set the questions type, its textual color and formatting.


 

In the bottom panel, you can Clear the questions content, add a new question of the same type right after the current one and quickly navigate between questions:


The Question Tab

Under the question’s tab, within the View tab, you can define the Questions Body Text and the surveyors instructions if any.

Defining The Questions Text

The text written in the question’s tab box is the body text that will be displayed to the surveyor.

The surveyor instruction box, allows you to configure textual instructions for the surveyor that will be formatted differently than the body text.


 For Example:

Here I configured my body text to be:


What is you birth date?

And the Surveyor Instruction Text to be:


INTERVIEWER: READ OUT “


The Answers Tab


  • Format: Only date/Only time – What to show
  • Calendar: Apply when “Only Date” is chosen – Set the type of calendar
  • Do Not Show Seconds – Apply when “Only Time” is chosen – Will present only hours and minutes
  • Start Empty – Apply when “Only Time” is chosen – Will start with default value of the time 12:00:00 AM
  • No Button – hide the “Now” button
  • Treat as time span – Apply when “Only Time” is chosen –hide the “AM/PM”. If combine with the button “Start Empty” then question is started from the value time of 00:00:00
  • Force Time Format - A 3 state checkbox and the details will show once you check/uncheck it 
    • when not checked - the time format will be 12 hours always

    • when checked - the time format will be 24 hours always

    • When the square is full - it will depend on the device and the date/time set there so for devices that will be set with 12H it will show that and for the one that will be set as 24H it will display as such

The Special Codes Tab

This tab allows you to add a set of answers in addition to the numeric field – you can select one answer from these answers that will be exclusive and disable the numeric field input.


The Rules Tab

In the rules tab you can define Entrance Rules, Validation Rules and Branching rules.


For more detail please see the following tutorials and refer to the scripting guide:

Survey Logic Video Series

How to create Entrance Rules

How to create Validation Rules

How to create Branching Rules

 

The Scripts Tab

In the Script’s tab you can define your questions Start Script, End Script and enter the advanced scripts for defining more complex functions.


 

For more detail about Start, End and Advanced scripts, please see the following tutorials and refer to the scripting guide:

How to create Start\End Scripts

How To use functions across a script using the Advanced Scripts section

 

The Variables Tab

The Variables Tab is used for configuring variable related properties of a question.

  • Variable Name: is the name of the column representing this question when exporting.
  • Missing Value: is the value that this question will get if it was not answered or skipped.
  • Short ID: Is a short name that is used for ease of readability and is viewable in the Survey Tree next to the Question Index – Short ID’s can also be used as a basis for variable names, please see: How to work with QRef’s & Short ID’s

Variable names can be referenced instead of Indexes by using the correct functions. (Basic Introduction to using VRef and VarName)


 

 

 

 

 

The Advanced Tab

The advanced tab allows you to set & configure more advanced properties of a question.


Common usages of the advanced tab:

  • Hiding a question from the surveyor.

  • Allowing\Disallowing ‘No Answer':

     

Variables and Exporting Definitions


Common Functions used to retrieve the value
These are some common functions used with this type of question:

Answer(QuestionIndex)

AnswerIter(QuestionIndex, IterationIndex)

Common Functions used to set the value

SetAnswer(QuestionIndex, AnswerText)

For Example:

SetAnswer(CurrQues“12:00:48″);

SetAnswer(QRef(10)Now);

 

Appendix

If you wish to use time different calculations you may want to look at this guide:

How To Measure Time Between Questions?

More about time fields in SurveyToGo:

The different time fields captured with SurveyToGo

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.