[memb_update_form]

OTHER DOCS Available

Summary

This shortcode provides a safe and secure way to enable your members to update their ActiveCampaign contact fields.

Shortcode Examples

[memb_update_form]
First Name: <input name="firstname" required="required" type="text" value="[memb_contact fields=firstname]" />

Last Name: <input name="lastname" required="required" type="text" value="[memb_contact fields=lastname]" />

Custom Field: <input name="customfieldname" type="text" value="[memb_contact fields=customfieldname]" />

<input type="submit" value="Update Profile" />

[/memb_update_form]

This will create a form for updating the logged in user’s First name, last name, custom field, and also includes the parameters for success page and tag ID (optional). You can also change the submit button’s label by changing the value=”Update Profile”.

Adding checkbox, radiobox and dropdown (select) elements in the form:

[memb_update_form success_url="/next-page/"]

First Name: <input name="FirstName" required="required" type="text" />

Last Name: <input name="LastName" required="required" type="text" />

Nickname: <input name="Nickname" required="required" type="text" />

<input name="FieldName" type="radio" value="ValueToBeSavedinActiveCampaign" />First radiobutton example

<input name="FieldName" type="radio" value="ValueToBeSavedinActiveCampaign" />Second radionbutton example

<input name="FieldName" type="checkbox" value="ValueToBeSavedinActiveCampaign" />First checkbox example

<input name="FieldName" type="checkbox" value="ValueToBeSavedinActiveCampaign" />Second checkbox example<select name="FieldName">
<option value="ValueToBeSavedinActiveCampaign">Value to be displayed on the site</option>
<option value="ValueToBeSavedinActiveCampaign">Value to be displayed on the site</option>
<option value="ValueToBeSavedinActiveCampaign">Value to be displayed on the site</option>

</select>

<input type="submit" />

[/memb_update_form]

Multiple select fields example:

[memb_update_form]
<input name="CustomField[]" type="checkbox" value="dallas" />Dallas
<input name="CustomField[]" type="checkbox" value="houston" />Houston</pre>
<input type="submit" />

[/memb_update_form]

Example on how to check value from ActiveCampaign fields and based on the value select checkbox:

[memb_update_form]
Select Your City
<input name="usercities[]" type="checkbox" value="dallas" />Dallas
<input name="usercities[]" type="checkbox" value="houston" />Houston
<input name="usercities[]" type="checkbox" value="toronto" />Toronto
<input name="usercities[]" type="checkbox" value="LA" />LA
<input name="usercities[]" type="checkbox" value="none" />None of These

<input type="submit" />

[/memb_update_form]

Shortcode Parameters​

success_url: The URL to redirect to if the signup is successful.  Optional.  Defaults to the current page.

failure_url:  The URL to redirect to if the update fails.  Optional.  Defaults to the current page.

tag_id:  A comma separated list of tags to apply if the update is successful.

Additional Information

Note

This shortcode cannot be used for allowing users to change their email. For changing the email, we recommend using the [memb_change_email] shortcode.

9 ways to add more value to your membership site

[memb_update_form]

This Applies To