How to add Gravity Forms to Elementor (complete guide) (2024)

Are you one of the 5,000,000 professionals who use Elementor as their preferred WordPress page builder?

If you are, you’re in luck! In this post, we’re going to show you how to add Gravity Forms to your pages using the Elementor visual builder.

The Elementor visual builder allows you to drag and drop different widgets onto your page and style them accordingly. Although Elementor has no direct integration with Gravity Forms, there are two easy ways to add Gravity Forms to Elementor, and we’re going to explore both of them below. We’ll also show you how to style your forms in Elementor without having to write a single line of code!

Ready? Let’s get started!

Here’s what we’re going to cover in this post

  • What is Elementor?
  • Creating a new form in Gravity Forms
  • Using the Elementor Gravity Forms widget
    • Integrating Gravity Forms using the PowerPack addons for Elementor plugin
  • Adding a Gravity Forms widget to your page in Elementor
  • Gravity Forms in Elementor: styling your forms
  • Embedding a Gravity Form in Elementor using a shortcode
    • Adding your shortcode to an Elementor “Shortcode” widget
  • Elementor forms vs Gravity Forms
    • Which form is best for Elementor?
  • Using Gravity Forms with Elementor: Final thoughts

What is Elementor?

Elementor is one of the most popular visual page builders for WordPress, competing with the likes of Beaver Builder, Visual Composer, and the Divi Builder. Elementor is a WordPress plugin designed to be an all-in-one solution for website construction and styling.

Using Elementor you can build new web pages quickly and efficiently. The basic version of Elementor is available for free on WordPress.org with more advanced packages available on the Elementor website.

Creating a new form in Gravity Forms

Let’s start by creating a new form in Gravity Forms. If you already have a form set up, you can skip this step.

First, hover over Forms in the left-hand menu and click New Form. After giving your form a name, you can use the Gravity Forms drag and drop editor to add different fields to your form.

How to add Gravity Forms to Elementor (complete guide) (1)

In this example, we’ll create a basic contact form with the following fields:

  • Name (Name field)
  • Email (Email field)
  • Comments (Paragraph field)

When you’re done building your form, click the Update button in the top right corner.

How to add Gravity Forms to Elementor (complete guide) (2)

Now that you’ve created a new form in Gravity Forms, you can use Elementor to add it to a page or post on your website!

Elementor comes with several widgets that allow you to add different elements to your pages or posts. This includes image galleries, icons, test fields, Google Maps blocks, and much more.

Although Elementor does not include a “Gravity Forms” widget, it’s easy to add one with the help of a plugin.

Integrating Gravity Forms using the PowerPack addons for Elementor plugin

The PowerPack for Elementor add-on is a plugin that extends Elementor by adding a further 70 widgets to the page builder, including a Gravity Forms widget!

The Gravity Forms Elementor widget comes with the free version of PowerPack, which is free to install!

From inside your WordPress dashboard, hover over “Plugins”, click “Add New” and then search for “PowerPack”.

How to add Gravity Forms to Elementor (complete guide) (3)

After installing and activating the plugin, you’ll have access to 30 new widgets inside the Elementor page builder.

Adding a Gravity Forms widget to your page in Elementor

Now that you have installed and activated the PowerPack add-on, you can add a Gravity Forms widget to your page in Elementor.

Hover over “Pages” and click “Add New” to create a new page. Give your page a name and then click the button that says “Edit with Elementor”.

How to add Gravity Forms to Elementor (complete guide) (4)

This will launch the Elementor visual page builder. Now, under “Elements” at the top left, search for “Gravity Forms”.

How to add Gravity Forms to Elementor (complete guide) (5)

Drag and drop the Gravity Forms widget onto your page and choose your form from the dropdown menu. After this, you should see a preview of your form appear inside the page editor.

Under the “Contact Form” dropdown menu, you’ll see further options for customizing your form.

How to add Gravity Forms to Elementor (complete guide) (6)
  1. Custom Title & Description: By toggling this on, you can override the existing form title and description by entering your own.
  2. Title: Show or hide the form title
  3. Description: Show or hide the form description
  4. Labels: Show or hide the form field labels
  5. Placeholder: Show or hide form field placeholder text
  6. Use Ajax: Enable Ajax submit, allowing forms to be submitted without a page refresh

That’s it! After you’ve configured your form, you can start styling it from inside the Elementor editor.

Gravity Forms in Elementor: styling your forms

The Gravity Forms Elementor widget also allows you to style your forms from inside the Elementor visual editor.

To start styling your form, click on the Style tab to bring up the style options.

How to add Gravity Forms to Elementor (complete guide) (7)

You’ll now see several sub-tabs that allow you to style the different aspects of your form, without having to write a single line of code! You can add styles to the inputs and textareas, the submit button, and more!

How to add Gravity Forms to Elementor (complete guide) (8)

When you’re finished styling your form, click “Publish” to save your changes. As you can see, the PowerPack add-on is a powerful Gravity Forms styler for Elementor!

Embedding a Gravity Form in Elementor using a shortcode

If you want to add a Gravity Form to Elementor without installing a third-party plugin, you can do so using a shortcode.

All you need to do is copy the Gravity Forms embed shortcode for your form, and paste it into an Elementor “Shortcode” widget.

You can find the embed shortcode by clicking the “Embed” button inside the form editor. This will open a new fly-out menu. Next, scroll down to the bottom and click “Copy Shortcode”.

How to add Gravity Forms to Elementor (complete guide) (9)

Alternatively, you can manually construct the shortcode for your form using your form ID. To find this, hover over “Forms” and click “Forms”. You’ll see the ID of your form in the column to the right.

A basic Gravity Forms shortcode includes the following parameters:

  • id – The ID of the form you want to embed (required)
  • title – Display or hide the form title (either ‘true’ or ‘false’)
  • description – Display or hide the form description (either ‘true’ or ‘false’)
  • ajax – Enable or disable AJAX when submitting the form (either ‘true’ or ‘false’)

Here’s what the finished shortcode looks like:

[gravityform id="9" title="true" description="true" ajax="true"]

The next step is to copy and paste your shortcode into an Elementor Shortcode widget.

💡 Pro tip: Learn more about embedding Gravity Forms in WordPress pages and posts.

Adding your shortcode to an Elementor “Shortcode” widget

Create a new page or edit an existing page with Elementor. Next, search for “Shortcode” in the search bar at the top and drag and drop a Shortcode widget onto your page.

How to add Gravity Forms to Elementor (complete guide) (10)

Next, paste your Gravity Forms shortcode into the shortcode box. You should now see a preview of your form load in the visual editor.

How to add Gravity Forms to Elementor (complete guide) (11)

If you add your form to Elementor using a shortcode, you won’t be able to style it from inside the Elementor editor. Instead, you’ll have to write your own, custom CSS code.

Elementor forms vs Gravity Forms

Elementor Pro includes a Form widget, allowing you to create forms inside the Elementor builder. This is a powerful widget if you’re looking to build simple forms for your website. However, Gravity Forms is better if you need a more advanced solution that supports more integrations.

How to add Gravity Forms to Elementor (complete guide) (12)

Both Gravity Forms and Elementor forms include a range of different field types, such as file uploads, date fields, and other standard field types you might expect a form to have. They also both support multi-step forms, allowing you to split up long forms into individual steps.

There’s a reason that Gravity Forms is the most popular form plugin for WordPress. In Gravity Forms, you can perform calculations, use conditional logic, manage your entries, integrate your forms with other applications, and take advantage of the powerful ecosystem of third-party add-ons.

For example, GravityView, allows you to display Gravity Forms data on your site using a drag-and-drop builder, and build powerful web applications using your entry data!

💡 Pro tip: Enhance Gravity Forms with these 8 essential add-ons and extensions.

Which form is best for Elementor?

If you’re wondering which form plugin to use with Elementor, look no further than Gravity Forms! Not only can you embed Gravity Forms anywhere using a simple shortcode, it’s also easy to style your forms using the Gravity Forms widget included in the free PowerPack Addon for Elementor!

Using Gravity Forms with Elementor: Final thoughts

Elementor is one of the most popular visual page builders for WordPress. Although Elementor doesn’t integrate directly with Gravity Forms, you can use the PowerPack Lite plugin to add a Gravity Forms Elementor widget to your website.

The widget also gives you the ability to style your forms from inside the visual editor. This means you can create beautiful forms without having to write a single line of code.

If you don’t want to add another plugin to your website, you can embed your Gravity Forms inside Elementor using a shortcode. This is easy to do using the Elementor Shortcode widget.

To learn more about how Gravity Forms works with different plugins, read How to Use Gravity Forms: The Ultimate Guide

How to add Gravity Forms to Elementor (complete guide) (13)

Helpful tips right in your inbox.

Subscribe to get the latest articles, information on releases and helpful Gravity Forms tips!

Helpful tips right in your inbox.

Subscribe to get the latest articles, information on releases and helpful Gravity Forms tips!

How to add Gravity Forms to Elementor (complete guide) (2024)

FAQs

How to add Gravity Forms to Elementor (complete guide)? ›

Give your page a name and then click the button that says “Edit with Elementor”. This will launch the Elementor visual page builder. Now, under “Elements” at the top left, search for “Gravity Forms”. Drag and drop the Gravity Forms widget onto your page and choose your form from the dropdown menu.

How do I enable Ajax gravity forms in Elementor? ›

Enabling Gravity Forms AJAX in the Block Editor

Start by editing the page where your form is embedded. Next, locate the “Gravity Forms” block and click on it to open the Block Settings in the right-hand panel. Now open the “Advanced” settings panel and toggle “AJAX” on.

How do I embed gravity forms in WordPress? ›

Here's how you can integrate Gravity Forms into your WordPress website.
  1. Download the Gravity Forms plugin.
  2. Upload the Gravity Forms plugin to WordPress.
  3. Install and activate Gravity Forms.
  4. Activate your license key.
  5. Create your first form.
  6. Add the form to your site.
Feb 17, 2023

How do I add gravity forms to my page? ›

Step 1:
  1. Go to the page you wish to embed a form on and click the + sign.
  2. Go to the page you wish to embed a form on and click the + sign.
  3. Then, drag the Widget icon into the block below the editor.
  4. Then, drag the Widget icon into the block below the editor.
  5. Next, search for “Form,” and select the Gravity Form Widget.

How do I add gravity form plugin? ›

Using the WordPress dashboard
  1. After downloading Gravity Forms go to the plugins page then click Add New.
  2. Click Upload Now in the top left corner.
  3. Drag and drop the file you downloaded onto the Choose File button.
  4. Follow the remaining prompts and Gravity Forms will be succesfully downloaded!
Jan 24, 2023

How do I embed gravity form in Elementor? ›

Give your page a name and then click the button that says “Edit with Elementor”. This will launch the Elementor visual page builder. Now, under “Elements” at the top left, search for “Gravity Forms”. Drag and drop the Gravity Forms widget onto your page and choose your form from the dropdown menu.

How do I embed a form in Elementor? ›

Creating a contact form with Elementor can be achieved by using the Form Widget in Elementor Pro. Simply drag a form widget to your page from the editor panel and use the controls to create a beautiful and responsive form on your website.

Why is my gravity form not showing up on page? ›

The form is most likely being hidden by an inline style of “display:none”. If your form uses conditional logic, it will have an inline style of display:none applied before Gravity Forms can determine which portions of the form to show.

What is the shortcode for gravity form? ›

The shortcode for a specific form is simply: [gravityform id="3"] where 3 is the form ID. How do I use shortcodes within a Gravity Forms HTML field? The Gravity Forms HTML field allows you to add custom content to your forms in the forms of text, HTML or other embedded content. The HTML field also accepts shortcodes.

How do I give an editor access to gravity Forms? ›

In order to make this happen, add the following code to your child theme's functions. php file: /* make gravity forms available to Editor role */ function add_gf_cap() { $role = get_role( 'editor' ); $role->add_cap( 'gform_full_access' ); } add_action( 'admin_init', 'add_gf_cap' ); Happy form editing!

Does gravity forms work with Elementor? ›

Design stunning forms without coding using Essential Addons with Gravity Forms. Play with advanced styling options and design personalized, attractive forms to boost your conversion rates.

Which one is the addon for gravity forms? ›

WPSyncSheets Lite For Gravity Forms – Gravity Forms Google Spreadsheet Addon – (Import / Export)

Is gravity forms a plugin? ›

Gravity Forms is a plugin for WordPress. It allows you to quickly create data collection forms, polls and surveys for your WordPress website.

How do I embed a form in a WordPress page? ›

Embedding a Form in Wordpress Jan 7, 2022•Knowledge
  1. Step 1) Get your form's javascript embed code. ...
  2. Step 2) Access your Wordpress.org site (http://yoursite.com/wp-admin/) ...
  3. Step 3) Create a new post. ...
  4. Step 4) Paste your Formstack form javascript embed code. ...
  5. Step 5) Preview and Publish.
Jan 7, 2022

What is the embed URL in gravity forms? ›

The {embed_url} merge tag in Gravity Forms displays the URL from which the form was submitted. Gravity Forms uses merge tags to allow you to dynamically populate submitted field values and other dynamic information in notification emails, post content templates and more.

Why is my form not working in Elementor? ›

If your Elementor contact form is not working, it's probably because emails from your site are being treated as spam. When your Elementor form sends an email, it uses the wp_mail() function. This sends emails through your hosting provider without authentication.

Which form plugin works with Elementor? ›

Formidable Forms is a popular WordPress form builder plugin that combines well with Elementor. With Formidable Forms, all you'll have to do is create a custom form, then add a form widget to an Elementor page, just as we did with WPForms. Formidable Forms form builder is easy to use and comes with 175+ form templates.

How do I add a form to my Elementor for free? ›

How to Make a Free Elementor Contact Form
  1. Step 1: Install the WPForms Plugin.
  2. Step 2: Make Your Elementor Contact Form.
  3. Step 5: Create Your Elementor Contact Us Page.
  4. Step 6: Publish Your Elementor Contact Us Page.
  5. Customize Your Elementor Contact Forms.
  6. Fix Elementor Contact Form Notification Emails.
Jul 6, 2022

Is gravity Forms no longer free? ›

Is There a Free Version of Gravity Forms? No, Gravity Forms doesn't have a free version. If you want a 100% free form plugin, check out this article on the 2 most popular free form builders for WordPress: Contact Form 7 vs WPForms Lite.

How do I add gravity form to page shortcode? ›

How to Embed Gravity Forms Using Shortcodes
  1. Open the form editor for the form that you want to embed. ...
  2. Click the </> Embed button in the top-right corner of the form editor.
  3. Click the Copy Shortcode button to copy the shortcode to your clipboard.
Dec 15, 2022

How do I give editing access to a form? ›

Share your form with collaborators
  1. Open a form in Google Forms.
  2. In the top right, click More .
  3. Click Add collaborators.
  4. Click "Invite people."
  5. In the "Add editors" window, add email addresses to share it with others.
  6. Click Send.

How do I give an editor access to my appearance in WordPress? ›

In order to allow editing menu, you'd need to check the Grant option under Appearance → Edit Theme Options.

How do you toggle a button in gravity form? ›

Steps to Enable Toggle Switches

Click on the Styles & Layouts option from the top menu. Now click on Custom Checkbox or Custom radio options. Check the Enable Custom Checkbox option. Now from the Checkbox Type dropdown select switch option.

How to enable Ajax form? ›

Enabling AJAX Form Submissions

Once the form builder is open, go to Settings » General. Then, scroll to the Advanced section and you'll see a list of options. Go ahead and select the Enable AJAX form submission option. When you're ready, click the Save button to save the changes.

How do I enable Ajax in WordPress? ›

Here's what the process for using Ajax in WordPress looks like:
  1. The user triggers an Ajax request, which is first passed to the admin-ajax. ...
  2. The Ajax request needs to supply at least one piece of data (using the GET or POST method). ...
  3. The code in admin-ajax.
Jan 2, 2022

How do I enable Ajax loading in WordPress? ›

Enable Ajax page cache loading for all the triggers

On your WordPress Dashboard, go to If-So > Settings and check the “Render triggers via Ajax” checkbox. This option will affect all triggers and content created using the CSV Bulks extension.

How to enable Ajax loading? ›

Go to Plugins -> Add New and search for AJAX Loading. Activate the plugin through the 'Plugins' screen in WordPress.

How to enable Ajax gravity forms shortcode? ›

To create a shortcode for your form, replace “form ID” with the specific ID of the form you want to embed on your WordPress site. Then, choose either “true” or “false” for each of the other variables. To enable AJAX, include the parameter [ajax="true"] in your form shortcode.

How to check if Ajax is enabled? ›

Method 1: Inspect the variables appearing in the URL when redirected
  1. If any parameter is added, it's not AJAX-enabled.
  2. Otherwise, it is AJAX-enabled.
Jun 30, 2022

How to submit form through Ajax in WordPress? ›

How to create a contact form using WordPress Ajax?
  1. Create an HTML Form. At first, let's create an HTML FORM that collects data from the user. To create HTML form copy the code below in your index. ...
  2. Using AJAX to submit the form. Now, we are going to use jQuery to handle our AJAX request. Create the file name main.
Aug 5, 2019

How to use AJAX in WordPress without plugin? ›

To add an Ajax search feature to the WordPress default search form without using a plugin, you can follow these steps: Create a search form in your WordPress theme's file. You can use the get_search_form() function to generate the default WordPress search form, or you can create a custom form with an input field.

How to add AJAX in WordPress plugin? ›

How to Use Ajax by Working With an Example Plugin (3 Steps)
  1. Step 1: Create the Appropriate File Structures. First, you'll need to name your plugin and create the appropriate file structures for it. ...
  2. Step 2: Choose Some Sample Code to Start With. ...
  3. Step 3: Hook Actions into Your Code. ...
  4. Step 4: Test and Debug Your Plugin.
Feb 2, 2022

Where is AJAX in WordPress? ›

In WordPress, you can see AJAX in action in the post edit screen, where you can add a new category while writing a post without reloading the page. It's also used on the comments page, where you can approve or delete a comment without reloading the page.

How to add AJAX to your website? ›

How to Develop a Web Application with Ajax
  1. Create or find your data source URL. ...
  2. Create the HTML for your application. ...
  3. Create a script block in your HTML (just above the closing body tag) and write an event listener to detect click events on the button.

How do I create a custom AJAX in WordPress? ›

How to use AJAX in WordPress theme
  1. Step 1 – Create JavaScript File. The first step is to create a JavaScript file at your theme or plugin directory. ...
  2. Step 2 – Add JQuery Codes. The next step is to open the custom. ...
  3. Step 3 – Register JavaScript File with WordPress. ...
  4. Step 4 – Make Ajax Request.

What is the default AJAX URL WordPress? ›

All the ajax calls in the frontend are made by the default URL /wp-admin/admin-ajax. php. This URL is also used by hackers to upload viruses and scripts on your website.

How to initiate Ajax request? ›

AJAX - Send a Request To a Server
  1. xhttp. open("GET", "ajax_info.txt", true); xhttp. send();
  2. xhttp.open("GET", "ajax_test.asp", true);
  3. xhttp.open("GET", "ajax_test.asp", true);

How do I run Ajax? ›

Steps of AJAX Operation
  1. A client event occurs.
  2. An XMLHttpRequest object is created.
  3. The XMLHttpRequest object is configured.
  4. The XMLHttpRequest object makes an asynchronous request to the Webserver.
  5. The Webserver returns the result containing XML document.

How to perform Ajax request? ›

The following example shows how to send a simple Ajax request.
  1. Example: jQuery Ajax Request. $.ajax('/jquery/getdata', // request url { success: function (data, status, xhr) {// success callback function $('p').append(data); } }); <p></p> ...
  2. Example: Get JSON Data. ...
  3. Example: ajax() Method. ...
  4. Example: Send POST Request.

Top Articles
Latest Posts
Article information

Author: Madonna Wisozk

Last Updated:

Views: 6024

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Madonna Wisozk

Birthday: 2001-02-23

Address: 656 Gerhold Summit, Sidneyberg, FL 78179-2512

Phone: +6742282696652

Job: Customer Banking Liaison

Hobby: Flower arranging, Yo-yoing, Tai chi, Rowing, Macrame, Urban exploration, Knife making

Introduction: My name is Madonna Wisozk, I am a attractive, healthy, thoughtful, faithful, open, vivacious, zany person who loves writing and wants to share my knowledge and understanding with you.