Gravity Forms Salesforce Add-on
[resolved] Form works but create warning message on submit (6 posts)

  1. krista06880
    Posted 3 years ago #


    My apologies in advance for the questions below. The Salesforce Gravity Forms plugin was working well until the recent upgrade, when I heard from people complaining that they were getting an error on submit. I'm trying to figure out how best to set up your plugin with Salesforce with the recent upgrade.

    1. The form creates the error message copied below on the web page upon submit. However the form does appear to be working properly with the Gravity Forms Salesforce Web to Lead Add-On. It sends an email with all the fields filled out. (Not every field makes it into the Salesforce Lead record that is created. I have a question below about that.) How do I stop the warning message? It leaves submitters with the impression the form hasn't worked.

    The web page:

    The error message:
    Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/25/9676825/html/intellerati/wp-content/plugins/gravity-forms-salesforce/salesforce.php on line 550
    Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/25/9676825/html/intellerati/wp-content/plugins/gravity-forms-salesforce/salesforce.php on line 550
    Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/25/9676825/html/intellerati/wp-content/plugins/gravity-forms-salesforce/salesforce.php on line 550

    2. The lead form created using Gravity Forms Salesforce Web to Lead Add-On does not pass the drop down data to the lead form. Does it have that capability? If so, how do I get it to work?. Does it need to go from multi-select drop-down in the form to the same field type in Salesforce or an alternative type?

    3. I haven't found details online about on what your Gravity Forms Salesforce API Add-On plugin does. Is that another way to submit data into Salesforce? Is it a way to get multi-select fields into Salesforce? If so, when I attempted to set up a feed, it displays fields in the Salesforce Lead object that are no longer there.( I recently deleted them.) I click refresh and the old fields display and the new ones are missing. I checked the API connection and it shows as current. The token is current. Suggestions?

    4. Do both plugins (Gravity Forms Salesforce API Add-On and Gravity Forms Salesforce Web to Lead Add-On) need to be installed and activated or does that create a conflict? What needs to be installed and activated? ( I don't remember installing the API plugin. I believe it came in with the upgrade. )

    -- KB


  2. krista06880
    Posted 3 years ago #

    I resolved the warning issue by checking both boxes in advanced options in the widget settings:

    I checked:
    Enable AJAX
    Disable script output

    Still have the other questions above. Thanks!

    -- KB

  3. Zack Katz
    Plugin Author

    Posted 3 years ago #

    1. Thanks for reporting - I'll fix this in the next release.

    2. If you're having issues with this, it's a great use case for the API plugin.

    3. The API plugin is another, better way of passing data to Salesforce. Go to Foms > Salesforce and set up Feeds instead of manually going into each field and adding the parameter.

    4. No, both don't need to be activated.

  4. krista06880
    Posted 3 years ago #

    I resolved the issue with the warming or error message.

    The API isn't pulling all the custom fields I've got set up for the form. I have checked and the connection to Salesforce is valid. I also have clicked "refresh". Still it is displaying some fields I have deleted. Moreover, it doesn't display fields I need that are on the form. The fields include URL, multi select pick lists and pick lists.

    Please advise.

  5. cdanni
    Posted 3 years ago #

  6. cynthiaisgr8
    Posted 3 years ago #

    Hi there,

    Just found this thread and I'm having the same issue using the Salesforce-Web-to-Lead plugin for Gravity Forms. Where can I find the settings for the Salesforce Web-to-Lead add on that allows me to try out the option krista06886 suggested (to check the Enable AJAX and Disable script output)? I see the settings page but can't find those options. I would try the Salesforce API plugin but a higher version of a Salesforce account is required (I work for a non-profit and we have a limited license.)

    Thanks in advance for your help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity Forms Salesforce Add-on
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic