Mad Mimi Feed Meta

Mad Mimi Feed Meta

IntroductionUsagePropertiesCustom Field Properties

Introduction
The Feed Object meta for the Mad Mimi add-on is an associative array containing the properties which determine how the add-on should process the form submission.
$feed['meta'] = array(
'feed_name' => 'Your Feed Name',
'fields_email' => '2',
'fields_firstname' => '1.3',
'fields_lastname' => '1.6',
'feed_condition_conditional_logic' => true,
'feed_condition_conditional_logic_object' => array(
'conditionalLogic' => array(),
),
);

Usage
We recommend accessing the $feed meta using the rgar() or rgars() functions, e.g.:
$conditional_logic_enabled = rgars( $feed, 'meta/feed_condition_conditional_logic' );

Properties

feed_name string
The feed name which appears on the add-ons feeds tab.

list string
The ID of the Mad Mimi list this feed will add contacts to.

fields_email string
The ID of the field containing the user』s email address. Required.

fields_firstname string
The ID of the field containing the user』s first name.

fields_lastname string
The ID of the field containing the user』s last name.

fields_title string
The ID of the field containing the user』s title.

fields_company string
The ID of the field containing the user』s company.

fields_phone string
The ID of the field containing the user』s phone number.

fields_address string
The ID of the field containing the user』s address.

fields_city string
The ID of the field containing the customer』s city.

fields_state string
The ID of the field containing the customer』s state.

fields_zip string
The ID of the field containing the customer』s zip.

fields_country string
The ID of the field containing the customer』s zip.

custom_fields array
A multidimensional array containing the custom fields to be sent to Mad Mimi. See Custom Field Properties.

feed_condition_conditional_logic boolean
Is the feed condition (conditional logic) setting enabled. Default is false.

feed_condition_conditional_logic_object array
An associative array containing the conditional logic rules. See the Conditional Logic Object for more details.

Custom Field Properties
array(
'key' => 'gf_custom',
'value' => '3.1',
'custom_key' => 'address_one',
)

Each custom field is an associative array containing the following properties:

key string
The custom field key. Value: gf_custom

value string
The ID of the form field or entry meta item containing the value for this custom field.

custom_key string
The custom field name.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注