Embedding A Form
Shortcode Builder (reccomended)
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.
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.
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.
Adding the 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.
[gravityform id="1" title="false" description="false"]
The id of the form to be embedded. (required)
Whether or not to display the form title. Defaults to ‘true’, which will show the title. Setting to ‘false’ will hide the title. (optional)
Whether or not to display the form description. Defaults to ‘true’. (optional)
Specify whether or not to use AJAX to submit the form.
Specify the starting tab index for the fields of this form.