Skip to main content

mbr_my_account

Usage

This shortcode returns a form through which the current remote user can update their ActiveCampaign contact data.

This shortcode currently works with the ActiveCampaign text input field type.

Parameters

ParametersDescription
fieldsThe ActiveCampaign contact fields to be shown within the form in a comma seperated string. To specify a field form label that is different from the field name, use a "pipe" symbol ( l ) to separate field name from field label, see examples. The available ActiveCampaign contact field names can be found in ActiveMember360, Utilities, Contact Fields. The lower case version of the Perstag should be used as the field name. The following ActiveCampaign contact fields are not allowed and will be ignored:ID, emailandpassword.
Defaults: none.
Required: yes.
labelThe field label position.
Permissible Values: top, left, placeholder
Default: top
Required: no.
min_widthThe minimum width the form should be using standard HTML attributes.
Default: none.
Required: no.
max_widthThe maximum width the form should be using standard HTML attributes.
Default: none.
Required: no.
submit_button_labelThe text to display on the submit button.
Defaults: Save
Required: no.

Validity

This shortcode is evaluated for any type of visitor.

Conditional Branching

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

Nesting

Shortcode nesting is NOT supported.

Examples

Generates and displays a form with two ActiveCampaign contact fields named first_name and last_name. The form will be populated with the values for the current remote user. The labels for the fields are first_name and last_name and are placed above the field inputs. The submit button is labelled Save:

[mbr_my_account fields='first_name,last_name']

API

info

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