Highrise Feed Meta

Highrise Feed Meta

IntroductionUsagePropertiesCustom Field Properties

Introduction
The Feed Object meta for the Highrise 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' => 'Highrise Feed 1',
'action' => 'contact',
'person_custom_fields' => array(),
'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.

action string
The feed action. Default is contact.

contact_standard_fields_first_name string
The ID of the form field containing the contact』s first name.

contact_standard_fields_last_name string
The ID of the form field containing the contact』s last name.

contact_standard_fields_title string
The ID of the form field containing the contact』s title.

contact_standard_fields_company string
The ID of the form field containing the contact』s company.

contact_custom_fields array
A multidimensional array containing the Highrise custom fields. See Custom Field Properties.

contact_note string
The note to add to the contact. Merge tags supported.

contact_visible_to string
Who can see this contact. Possible values: Everyone, Owner or the Highrise Group ID.

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' => 'title',
'value' => '3',
)

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

key string
The Highrise custom field key.
The default keys are: background, linkedin, twitter, email_work, email_home, email_other, phone_work, phone_mobile, phone_fax, phone_pager, phone_home, phone_skype, phone_other, website_work, website_personal, website_other, address_work, address_home, address_other, im_aim, im_msn, im_icq, im_jabber, im_yahoo, im_skype, im_qq, im_sametime, im_gadu-gadu, im_gtalk, im_other.
Other custom fields all begin custom_ and then end with the Highrise field ID, e.g. custom_1007122.

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

Highrise Change Log

Highrise Change Log

1.3 | 2019-02-191.2 | 2017-04-281.1.3 | 2017-01-251.1.2 | 2016-11-301.1.1 | 2016-11-281.1 | 2016-08-311.0 | 2015-07-29

The Highrise CRM service is no longer in development, and no new accounts can be created. As of November 2019, we have deprecated the official Gravity Forms plug-in which is no longer available for download.

1.3 | 2019-02-19

Added security enhancements.
Added GPL to plugin header.
Added user agent to API requests.
Updated Plugin URI and Author URI to use https.
Fixed a PHP notice which would occur when sending a request to Highrise.

1.2 | 2017-04-28

Added security enhancements.
Added translations.

1.1.3 | 2017-01-25

Updated the description string on the Settings page.

1.1.2 | 2016-11-30

Fixed strings for translations.

1.1.1 | 2016-11-28

Fixed PHP notice.

1.1 | 2016-08-31

Added exception handling to API calls.
Added feed duplication support.
Added support for delaying feed processing until payment by PayPal Standard is successfully completed.
Fixed thrown exception when using a mapped phone number field.

1.0 | 2015-07-29

It's all new!

Highlighting the Current or Future Date in the Datepicker

Highlighting the Current or Future Date in the Datepicker

If you need to highlight a current or future date within the datepicker, here』s a code snippet to do it.
Note: You』ll need to replace #input_1_20 with a selector for your field.
1234567891011121314

Hiding the Form Title

Hiding the Form Title

Most of the time, you』ll want to hide the form title from the shortcode, but if you』re somehow not able to do so, here』s how you can hide the form title using a bit of CSS.
123body .gform_wrapper h3.gform_title {    display: none !important;}
Find more CSS examples in our extensive Design and Layout section, and review the Where To Put Your Custom CSS article for advice on placement.

Hidden

Hidden

SummaryCommon SettingsMerge TagsUsageModifiers

Summary

The Hidden field can be used to store information that should not be visible to the user but can be processed and stored with the user submission. It is available under the Standard Fields section within the form editor.

Hidden field as displayed in the Field Library

Hidden field as displayed in the Form Editor.

Common Settings

This field uses only common field settings for the General, Appearance, and Advanced settings. For a description of each of the common field settings, refer to this article. Below you will find description of specialty settings that are particular to this field.

Merge Tags

For more information on the use of merge tags, refer to these articles.

Usage

{Field Name:2}

Modifiers

This merge tag does not have any modifiers.

Hidden Field

Hidden Field

IntroductionExampleUses

Introduction
The hidden type field, part of the Settings API, renders a hidden input.
Example
The HTML is created for the hidden field and you will see it if you view the page』s HTML source.
array(
'title' => esc_html__( 'This is the title for Section 4', 'sometextdomain' ),
'fields' => array(
array(
'type' => 'hidden',
'name' => 'myhiddenfield',
'label' => esc_html__( 'This is my hidden field', 'sometextdomain' ),
'default_value' => 'textformyhiddenfield',
),
),
),

The HTML code generated for the hidden field will look similar to the following:

Uses

settings_hidden()

{helpscout:[prop]} Merge Tag

{helpscout:[prop]} Merge Tag

SummaryUsageProperties:id:number:status:subject:urlNotes

Summary
Displays Help Scout conversation properties. This merge tag is only available if you have the HelpScout Add-On installed.
Usage
{helpscout:[prop]}
Properties
:id
The entry ID of the form submission.
:number
The number of the Help Scout conversation.
:status
The status of the Help Scout conversation.
:subject
The subject of the Help Scout conversation.
:url
The URL of the Help Scout conversation.
Notes
Can be used in notifications to display Help Scout conversation properties after the conversation has been created.

Helpful Snippets and Forum Topics

Helpful Snippets and Forum Topics

Setting Tabindex + Options
Pre-populate Any User Meta
Custom Validation for Set of Zipcodes
Add Javascript When There is a Validation Error
Unique ID
Custom Taxonomies Are Our Friends
Strip HTTP/WWW from Website Field Token
Pre-populate Based on Page/Post ID
Add Sub-pages to Gravity Forms Admin Nav
Conditional Fields Based on Whether the User is Logged In
Using Checkboxes for Post Custom Fields
Changing a field to be read-only
Populate a Form with Data from an Existing Lead
Conditional Notifications
Add a Setup Fee to a Subscription with PayPal

Helper Functions

Helper Functions

get_capabilities()
The get_capabilities function retrieves all capabilities or a specific capability for the add-on.
gf_do_action()
The gf_do_action function allows additional actions based on form and field ID to be defined easily.
gform_add_meta()
The gform_add_meta function adds the metadata associated with an entry in the Entry Meta table.
gform_delete_meta()
The gform_delete_meta function deletes the meta key from the Entry Meta table.
gform_get_meta()
The gform_get_meta function retrieves the meta value of the specified meta key from the Entry Meta table.
gform_update_meta()
The gform_update_meta function updates the meta value of the specified meta key in the Entry Meta table.
gravity_form_enqueue_scripts
The gravity_form_enqueue_scripts function will enqueue the necessary styles and scripts for the specified Gravity Form.
rgar()
The rgar function is used to retrieve a value from an array.
rgars()
The rgars function is used to retrieve a value from a multi level array.
rgblank()
The rblank function can be used to validate if a string is empty.
rgempty()
The rgempty function is used to validate if a variable or array key is empty, null, or false.
rgexplode()
The rgexplode function explodes a string into an array of strings.
rgget()
The rgget function is used to retrieve a value from the $_GET array.
rgobj()
The rgobj function is used to retrieve a property value from an object.
rgpost()
The rgpost function is used to retrieve a value from the $_POST array.

Help Scout Feed Meta

Help Scout Feed Meta

IntroductionUsageProperties

Introduction
The Feed Object meta for the Help Scout 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.

mailbox string
The Help Scout ID of the Mailbox the conversation will be added to.

user string
The Help Scout ID of the User the conversation should be assigned to.

status string
The conversation status. Possible values: active, pending, closed or spam.

type string
The conversation type. Possible values: email, chat or phone.

customer_email string
The ID of the field containing the customer』s email address.

customer_first_name string
The ID of the field containing the customer』s first name.

customer_last_name string
The ID of the field containing the customer』s last name.

tags string
A comma separated string containing the tags the conversation should be assigned. Merge tags are supported.

subject string
The conversation subject line. Merge tags are supported.

body string
The conversation message. Merge tags are supported.

attachments array
array(
'10' => true,
'11' => false,
);

An array of file upload fields. The field ID is the key with a boolean value indicating if the files for that field should be attached.

cc string
A comma separated string containing the emails the conversation should be cc』d to. Merge tags are supported.

bcc string
A comma separated string containing the emails the conversation should be bcc』d to. Merge tags are supported.

auto_reply boolean
Should Help Scout send an auto reply when the message is created. Default false. Added in Help Scout 1.2.

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.