Skip to main content

Using $variables in Motivity - $learner, $target, $he

$variables can be used when writing programs to populate learner names and pronouns so when you share a template or program to another learner, the names/pronouns will auto-populate.

Using $variables in the Program Builder

Learner name will populate when you use any of the following $learner, $child, $student, $patient, $subject

Pronouns can be $he translates to she/he, $she translates to she/he, $her translates to her/his, $hers translates to her/his, $him translates to her/him

Target can be $target or $goal

$Variables can also be used as a way to build parameters so that target or goal names are auto-populated into a program so that you don't need to customize the interface for each target.

Learner name

$learner, $child, $student, $patient, $subject

Pronouns

$he, $him, $her, $hers

Targets

$targets, $goal

Using $variables in Notes and Reports

$Variables are available to use in the following note and report options below:

  • Text in Read Only Content

  • Title and footnote of text boxes

  • Title, footnote, and default value in text lines

  • Title and drop down labels for drop downs

  • Section name and footnote

  • Date title and footnote

  • Duration title

  • Number title and footnote

  • Time title and footnote

See Read Only text example:

Did this answer your question?