mbr_form
Usage
This shortcode embeds and displays an ActiveCampaign form in your page/post.
Parameters
Parameters | Description |
---|---|
form_id | The ActiveCampaign form ID to be embedded. The available forms can be found in ActiveMember360, Utilities, Forms. Default: none. Required: yes. |
status | The type of user for which this form should be displayed. Permitted Values: all for everyone, members for ActiveCampaign contacts linked to the logged in user i.e. remote users, visitors for anyone who is not logged in. Default: all Required: no. |
tags | One or more ActiveCampaign tag ID's, separated using commas, which the remote user must have in order to embed the form. The available tags can be found in ActiveMember360, Utilities, Tags. Default: none. Required: no. |
exclude_tags | One or more ActiveCampaign tag ID's, separated using commas, which the remote user must NOT have in order to embed the form. The available tags can be found in ActiveMember360, Utilities, Tags. Default: none. Required: no. |
populate | Automatically populate the form fields with ActiveCampaign contact data for remote users. Permitted Values: true, yes, 1. Default: yes Required: no. |
Validity
This shortcode is evaluated for any type of visitor.
Conditional Branching
This shortcode does NOT support conditional branching with [ELSE_form].
Nesting
Shortcode nesting is NOT supported.
Examples
- Example 1
- Example 2
- Example 3
- Example 4
- Example 5
Embeds and displays the ActiveCampaign form ID 23 for all visitors. For remote users all fields within the form will be automatically populated with existing values from the ActiveCampaign contact record.
[mbr_form form_id='23']
Embeds and displays the ActiveCampaign form ID 23 for only not logged in visitors.
[mbr_form form_id='23' status='visitors']
Embeds and displays the ActiveCampaign form ID 23 for only remote users. All fields within the form will be automatically populated with existing values from the ActiveCampaign contact record.
[mbr_form form_id='23' populate='yes' status='members']
Embeds and displays the ActiveCampaign form ID 23 for only remote users. No fields within the form will be automatically populated with existing values from the ActiveCampaign contact record.
[mbr_form form_id='23' populate='no' status='members']
Embeds and displays the ActiveCampaign form ID 23 for only remote users who have the ActiveCampaign tag ID 12 but not the tag ID 34. All fields within the form will be sutomatically populated with existing values from the ActiveCampaign contact record.
[mbr_form form_id='23' status='members' tags='12' exclude_tags='34']
API
There is currently no ActiveMember360 API function equivalent for this shortcode.