Versions Compared

Key

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

...

Expand
titleExpand to reveal examples
  1. Send Content Based on default field values at the registration level

    Code Block
    #if ($cpr.participant.vitalStatus.value != 'Alive')
      Hello Participant Representative
    #else
      Hello Participant Name
    #end
  2. Send Content based on the custom field value attached at registration level.

    Code Block
    #if ($cpr.getCustomFieldDisplayValue('type_of_recruitment') != 'Remote') // 'type_of_recruitment' is the variable name of the field.
      On Premise Consent
    #else
      Remote Consent
    #end

...