Skip to main content

mbr_populate

Usage

This shortcode will populate content placed between the shortcode's opening and closing tags by replacing any merge fields with ActiveCampaign contact data.

It's primary use is for automatically populating HTML forms however it can be used wherever the use of merge fields is appropriate.

Merge fields are defined using the ActiveCampaign personalization tag for the contact field (Perstag) with the characters %% before and after the tag. The available Perstags can be found in ActiveMember360, Utilities, Contact Fields.

Parameters

ParametersDescription
cidThe ActiveCampaign contact ID whose contact record will be used to automatically populate the merge fields.
Default: Current logged in user contact ID.
Required: no.

Validity

This shortcode is evaluated for any type of visitor.

However the merge fields will be blank for any visitor except for those who are remote users

Conditional Branching

This shortcode does NOT support conditional branching with [ELSE_populate].

Nesting

Shortcode nesting is NOT supported.

Examples

[mbr_populate]
[/mbr_populate]

API

Note

There is currently no ActiveMember360 API function equivalent for this shortcode.