Support » Plugin: Gravity Forms Highrise Add-on » [Plugin: Gravity Forms Highrise Add-on] Field mapping is still completely wrong

  • Resolved Doug

    (@douglascox)


    Even when using the new parameter names feature (awesome idea), the field mapping is still completely wrong (not so awesome). Some basic data is passed to Highrise correctly, like the contact’s name and e-mail and address, but not much else. The company name is not pulling from the correct field (even though it’s specified with a parameter), and tags are still nowhere to be found. Additionally, no additional data is being passed as notes or comments, whether specified with a parameter or not. Using all most recent versions of WordPress, Gravity Forms, and this plugin.

    http://wordpress.org/extend/plugins/gravity-forms-highrise/

Viewing 2 replies - 1 through 2 (of 2 total)
  • After having this same problem I dove in and found a fix.

    on about line 238 or so of HighriseAPI.php there is a line that looks like this

    if(!empty($value) && isset($custom_fields[esc_html($key)])) {

    If you replace that line with the following, it will now map your custom fields correctly

    if(!empty($value) && isset($custom_fields[strtolower(esc_html($key))])) {

    The problem is that gravity forms uses heading case “My Field” whereas the highrise API uses all lower case so “My Field” is not equal to “my field” and nothing was being set.

    Hope this helps others in the same situation.

    Cheers,
    Brendan

    Plugin Author Zack Katz

    (@katzwebdesign)

    Your fix was added in 2.5.1. Thanks, brentoe!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Gravity Forms Highrise Add-on] Field mapping is still completely wrong’ is closed to new replies.