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
Parameters | Description |
---|---|
fields | The 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 , email andpassword .Defaults: none. Required: yes. |
label | The field label position. Permissible Values: top, left, placeholder Default: top Required: no. |
min_width | The minimum width the form should be using standard HTML attributes. Default: none. Required: no. |
max_width | The maximum width the form should be using standard HTML attributes. Default: none. Required: no. |
submit_button_label | The 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
- Example 1
- Example 2
- Example 3
- Example 4
- Example 5
- Example 6
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']
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|First Name,last_name|Last Name']
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 used as placeholders for the input fields. The submit button is labelled Save:
[mbr_my_account label='placeholder' fields='first_name|First Name,last_name|Last Name']
Generates and displays a form with two ActiveCampaign contact fields named first_name and last_name and a maximum width of 50% of the browser window. 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 used as placeholders for the input fields. The submit button is labelled Save:
[mbr_my_account label='placeholder' fields='first_name|First Name,last_name|Last Name' max_width='50%']
Generates and displays a form with two ActiveCampaign contact fields named first_name and last_name and with the form an minimum width of 300px i.e. 300 pixels and a maximum width of 400px i.e. 400 pixels. 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 used as placeholders for the input fields. The submit button is labelled Save:
[mbr_my_account label='placeholder' fields='first_name|First Name,last_name|Last Name' min_width='300px' max_width='400px']
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 Primero Nome and Sobrenome and used as placeholders for the input fields. The submit button is labelled Salvar alterações:
[mbr_my_account label='placeholder' fields='first_name|Primero Nome,last_name|Sobrenome' submit_button_label='Salvar alterações']
API
There is currently no ActiveMember360 API function equivalent for this shortcode.