Embedding A Form

Here is how to embed a form into a post or page.

Page/Post Editor

Shortcode Builder

Shortcode Icon

From the Page or Post Editor you can click on the Form icon in the Upload/Insert toolbar. This is located to the left of the Visual/HTML tabs in the body text editor. Clicking on the Form icon will activate the insert form modal window.

Shortcode Builder

Using the shortcode builder you will first want to select a form from the Select a Form dropdown. If you are unable to find your form in the dropdown list, return to the Edit Forms page and ensure that your form is active. Once you have selected a form, you can specify the following options:

  • Display form title
    Checking this option will display the form title

  • Display form description
    Checking this option will display the form description

  • Enable AJAX
    Checking this option will enable your form to be submitted via AJAX. Submitting the form via AJAX allows the form to be submitted without requiring a page refresh.

Please note, due to limitations with reCAPTCHA, forms containing a reCAPTCHA field will not be submitted via AJAX even if this option is enabled.

After you have specified your desired options, click Insert Form to automatically insert the Gravity Forms shortcode into the body of the post/page content you are editing.

Shortcode Manually

If you would like to build the WordPress shortcode manually, you may do so using the format and options below. You may then insert the shortcode into the body of the page or post you would like the form to appear in.

Example:

[gravityform id="1" title="false" description="false"] 
 
  • id
    The id of the form to be embedded. (required)
  • title
    Whether or not to display the form title. Defaults to ‘true’. (optional)
  • description
    Whether or not to display the form description. Defaults to ‘true’. (optional)
  • ajax
    Specify whether or not to use AJAX to submit the form.
  • tabindex
    Specify the starting tab index for the fields of this form.

 

 

Submit a request
Join the Discussion

Community browse

Сategory Menu
Powered by Zendesk