[memb_update_contact]

Version Added v2.45

Summary

This shortcode provides a simple way for you to push updates to your Infusionsoft contact fields.

Shortcode Examples

[memb_update_contact fields=FirstName value=Ash]

 

[memb_update_contact fields=FirstName,Nickname value=Ash]

 

[memb_update_contact contact_id=123 fields=FirstName value=Ash]

 

[memb_update_contact fields=FirstName value=ASH txtfmt=strtolower,ucwords]

 

[memb_update_contact fields=_MyCustomField value=123]

Shortcode Parameters

contact_id:  (Optional) The contact id of the contact to update.  This defaults to the currently logged in user.  If the currently logged in user does not have an Infusionsoft contact id, then no action will be taken.

fields:  (Required) A comma separated list of the Infusionsoft database field names to update.  Read only fields will be ignored.  If multiple fields are specified, then the same value will be written to all of them.

value:  (Required)  The value to push into the field.

date_format: (Optional)  The formatting to use for your date field.  You can read more about the date formatting options here.  You can also use “Infusionsoft” to specify the Infusionsoft native date/time format.

txtfmt:  (Optional) A comma separated list of text processing functions to be used to post process the contact field value before it is sent to Infusionsoft. (?)

 

Shortcode Attributes

Conditional: No (?)
Nestable: No (?)
Accepts formatting: Yes* (?)
Capturable: No (?)

Additional Information

The API function equivalent for this shortcode is as follows:

global $i2sdk;
$updated_fields = array( 'MyFieldName' => $value ) );
$contact_id = (int) memb_getContactId();
$i2sdk->isdk->updateCon( $contact_id, $updated_fields );

Memberium Membership Site Workshop
October 10th-12th, 2018 in Phoenix, Arizona

Get your Memberium site and Infusionsoft app fully implemented in 3 days. Save $100 OFF your ticket until the end of this Monday, September 24th!

Click Here to Learn More and Reserve Your Seat