Dynamic Fields can be used when you wish to replace text in questions (steps), answers (value choices), and descriptions with data (answers or demographic information) already provided by the participant.
Dynamic Field Types
There are three kinds of dynamic fields: demographic fields, identifiers, and custom fields.
To learn more about setting these dynamic fields, see Viewing and Editing Participant Information and Using Custom Fields.
Demographic fields are standard fields set in the participant viewer or in a participant's MyDataHelps account. For more information about setting demographic fields, see Viewing and Editing Participant Information.
You reference a demographic field in a survey like this:
Available demographic fields are:
RKStudio stores unique identifiers for participants. You can reference these identifiers in a survey using the dynamic field codes shown in the table below. For example, to reference a participant's primary identifier you would use:
|Identifier||Dynamic Field Code||Description|
||The primary RKStudio identifier, unique to the participant even across projects.|
||A project-specific identifier, unique to the specific project.|
Custom fields are defined per-project, and let you specify custom data you want to save about each participant. For more information about creating and setting custom fields, see Using Custom Fields.
You reference a custom field in a survey like this:
The custom field data must exist in the project settings before the participant starts the survey.
The custom field name must exactly match the way you defined it in the project settings, including spacing and capitalization. If your field name is
Dynamic Survey Components
There are several ways you can use dynamic fields in surveys.
All answer formats support a "Default Value" field, which lets you specify a default answer to the survey question. For example, if you have a custom field for saving the participant's height, you could use their last known height as a default answer.
Survey prompts allow you to insert dynamic fields into the text. For example, you could have an instruction step that greets the participant by name. Just make sure all your participants have a first name set.
Notifications can use dynamic fields in their message titles and body.