Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. If you want the default value for a question to be a simple number or simple text, under 'Question Properties' → 'Advanced Properties', there is the 'Default Data Value' field. You can enter things in here like numbers (e.g. 0) and text (e.g. yes), although be sure  not  to include quotes around these integer and text default values or it will not work and your application may fail in mysterious ways. You will need to put single quotes around a default value for a date question, i.e. '2010-01-01' in order for it to display properly.This field does not currently support functions (e.g. today()) or hidden values (e.g. /data/loaded_case_property_hidden_value). 

...