iContact Feed Meta

Introduction

The Feed Object meta for the iContact 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',
	'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 iContact list this feed will add contacts to.

  • fields_email string

    The ID of the field containing the user’s email address. Required.

  • fields_prefix string

    The ID of the field containing the user’s name prefix.

  • fields_first_name string

    The ID of the field containing the user’s first name.

  • fields_last_name string

    The ID of the field containing the user’s last name.

  • fields_suffix string

    The ID of the field containing the user’s name suffix.

  • fields_street string

    The ID of the field containing the first line of the customer’s address.

  • fields_street2 string

    The ID of the field containing the second line of the customer’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_postal_code string

    The ID of the field containing the customer’s postal code.

  • fields_phone string

    The ID of the field containing the user’s phone number.

  • fields_fax string

    The ID of the field containing the user’s fax number.

  • fields_business string

    The ID of the field containing the user’s business number.

  • custom_fields array

    A multidimensional array containing the iContact custom fields. 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

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

  • key integer

    The iContact custom field ID.

  • value string

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