How to record whether or not a user has completed a particular section of the intervention (e.g. a questionnaire)

From Lifeguide Wiki
Revision as of 10:46, 25 March 2014 by Judy (talk | contribs) (Created page with "<code>savevalue</code> can be used to record a completed part of your intervention. For example, you may want to record whether users have completed the baseline questionnaire...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

savevalue can be used to record a completed part of your intervention. For example, you may want to record whether users have completed the baseline questionnaire so you know if they can move on to the next part of the intervention.

To do this, type the following line after the page at which you want to save the baseline questionnaire. savevalue(username, "baseline_done", "yes")