|Gravity Forms is a third-party form builder for WordPress websites.
These forms can integrate into SharpSpring.
This article will detail how you to integrate Gravity Forms.
Note: SharpSpring offers Professional Services to assist with custom coding. You must have code knowledge in order to use the information within this article.
Regarding Integrated Code
Running the following generated code or your entire functions.php file through a .PHP validator will decrease the risk of a crash, but it will not catch everything. For more information on .PHP validation, refer to https://phpcodechecker.com/
This integration tool is provided as-is to assist with the setup of integrating Gravity Forms, but this may run into complications due to the configuration within Gravity Forms. This includes, but is not limited to:
- A non-standard Gravity Forms configuration
- Other plugins that interfere
- Additional parameters outside of SharpSpring's control
If native form code has been placed on the page already, it should be removed. This .PHP code replaces its function.
Generating Form Codes
To integrate Gravity Forms, you will need access to your SharpSpring and Wordpress accounts. Also, you must be using Gravity Forms on your site in order for this integration to work. For developer instructions, refer to: For Developers: Integrating Gravity Forms. To obtain a form code from Gravity Forms, do the following:
Note: Field labels should not contain special characters or accented numbers. Labels should contain A-Z, a-z, 0-9, space, dash, and underscore only. Also, field names here do not need to match the field names within Gravity Forms.
Adding Gravity Forms to Wordpress
To add a Gravity Form to Wordpress, do the following:
Changes to the functions.php file in Wordpress can result in your site crashing. Be sure you have FTP access in order to backup and revert to your old functions.php file if needed.
Click to enlarge.
1: Denotes the Editor menu location.