Managing native member fieldsΒΆ
Native custom member fields can be used when integrating with MailChimp/Campaign Monitor subscriptions which are handled by other extensions and depend on native fields.
Native fields like signature, url, locations etc... and custom created member fields can be managed by creating a channel field with the same name prefixed with “member_”. Changes in these channel fields will be reflected in the native fields.
Let’s say we want to update the native signature member field.
- Create a channel member field called “member_signature”
- Add the field to your registration/update form
- Submit your form
- The submitted data will be saved in the channel field as well as the native field
{exp:visitor:update_form error_handling="inline" return='account/register/success'}
Member signature: <input name="member_signature" type="text" value="" />
{error:member_signature}
Member location: <input name="member_location" type="text" value="" />
{error:member_location}
<input class="form-submit" type="submit" value="Update" />
{/exp:visitor:update_form}