Form Code Generation Tool

To integrate Formidable Forms with SharpSpring, you will need access to your SharpSpring account, and you must be using Formidable Forms on your site. For developer instructions, refer to For Developers: Connecting Formidable Forms. To generate Formidable Form integration codes, do the following:

    1. In a browser tab, create a Formidable Form.
    2. Locate the Formidable Form's ID number.
    3. In another browser tab, log in to SharpSpring.
    4. In SharpSpring's top toolbar, click Content > Forms.
    5. Create or edit a native form.
    6. If creating a new form, you will be presented with an embed code.
      For existing forms, click the options in the Actions columnn by Embed Code.
    7. Copy the native form's embed code.
    8. Paste the native form's full embed code in the following box:

    9. Place the ID number of your Formidable Form in the following box: 



    10. In the following table, insert the applicable field labels and field identification numbers, and click the applicable checkboxes.

      Field
      Label
      Field ID
      Number
      Checkbox
      Group?

    11. Click the Generate Code button above.
    12. Copy the code that is generated below:

 
Note: Field labels should not contain special characters or accented numbers. Supported characters are A-Z, a-z, 0-9, space, dash, and underscore.


Adding Generated Code to Wordpress

To add the generated Formidable Forms code to Wordpress and integrate the form, do the following:

  1. In another browser tab, log in to Wordpress.
  2. Open your functions.php file in Wordpress.
  3. Add the following code snippet:
    add_action('frm_after_create_entry', 'submitSharpSpring', 30, 2);function submitSharpSpring($entry,
          $form_id){
          
    // Paste the above code snippet here
    }
  4. Add the generated code where it says "Paste the above code snippet here." 
  5. Delete the two backslashes //
  6. Place the edited code on your page.

Once integrated, your page will collect form submissions from your Formidable Form and pass them to SharpSpring.