WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms Highrise CRM
[resolved] Connecting plugin to Gravity Form with only 1 Name field (3 posts)

  1. erexkiss
    Member
    Posted 3 months ago #

    Hey Plugin Devs,

    First of all thanks for the great plugin.

    I'm working with a contact form that only has 1 name field.

    I'm trying to connect it to Highrise, but the Highrise CRM Feed settings page requires me to associate both the First name and Last name to a form field, and I have the following issues with this:

    - I can associate the Name field to both First name and Last name, but in that case the recipient will get an email that starts with "Hi [First name] [First Name]"
    - I can't just use the first name to connect with Highrise CRM Feed, as both First name and Last name are required to have an associated form field.

    Is here any way I can remove the requirement to associate the Last Name field to anything?

    I'm unfortunately not that flexible with Gravity Forms, I can't just add an extra "Last Name" field to the form.

    Thanks!

    https://wordpress.org/plugins/gravity-forms-highrise-crm/

  2. B Hays
    Member
    Plugin Author

    Posted 3 months ago #

    That sounds doable. I'll try and get a fix in place shortly. In the meantime, you can fix your plugin and remove the required attribute for the last name by modifying a line of code.

    On line 1427, of gravity-forms-highrise-crm.php, change this:

    $fields['name_last'] = array('name' => 'Last Name', 'required' => TRUE);

    to this:

    $fields['name_last'] = array('name' => 'Last Name');

  3. B Hays
    Member
    Plugin Author

    Posted 3 months ago #

    Version 2.2 of the plugin has just been added to the plugin repository. That version includes the ability to use just a single name input and not require last name. Also, you can choose whether you'd like the name to be split into first & last before being sent to Highrise.

Reply

You must log in to post.

About this Plugin

About this Topic