|
/ Documentation /Publishing Forms/ Embed & Display Forms In Gutenberg Using Spectra

Embed & Display Forms In Gutenberg Using Spectra

SureForms lets you embed and display the forms you’ve created on your WordPress site using Spectra in your Gutenberg editor. 

You can easily add forms to different sections, such as – pages, posts, or any Spectra widget area.

This guide will show you how to embed and display SureForms forms on your site using Spectra. Let’s get started!

Note: Ensure you install both SureForms and Spectra on your WordPress dashboard before moving forward.

Embedding Forms on a WordPress Page/Post with Spectra

Before we start, ensure you’ve created a form in your SureForms dashboard:

  • Select the page where you want to embed the form or create a new page.
AD 4nXfh 1Uwf3TE7i5cs7TsOCfv8OK03uu0PSDZOjEaCPSFqygN EL4mQOrGNqzQ5F K1JJSWNVNGViBLBFLnksPFyammH4Gkp8D5tkfy3oKTOcasvw9ysqDdb HrgMIwPUYLY2GAd70A?key=Lc55FgmBTrYfhdBWJ3PWFjej
  • Add the Spectra container block here.
  • Select the preferred container layout in which you want to embed your form.
  • Click the “+” icon in the container and add the “Form” element from SureForms.
AD 4nXfJuwvdrlfw9 QUL5nv5KqUDctKUPUzGTZ3TymOfrcib Qq O78Ejt6HiRO0Z LJasBHl8u7 PqJjMB2XqzokEKU LNeLY0tVVggye6eNjrOcUOgSscLVnxYIUUqdcZMYwCXzetg
  • Select the form you want to embed from this dropdown. 
AD 4nXezYItSyGnWnxoTzxfj2IEAtusu VJx1XqZlGE732tY2PrK11MsIMrzXH48Sf UZEoHDYEuH3hussNod 463Hh6AZ Rv1tXTZdTCDCzg QYxqYOzCsnwUdMTvcghA2lHWhnrObG

Once added, click the “Choose” button. After saving/publishing the page, the form will be embedded and visible on this page.

Preview the form on the front end to confirm it.

SureForms Settings In Spectra

The newly embedded forms will have some settings displayed on the right side. Here’s what they do:

  • You can enable the “Show Form Title on this Page” toggle button to show the form title on the page/post.
AD 4nXcXKO16Bw K0flFsJ F VEx3fKZuPLpxh5olbZTQx59yXm2dso Pkc01ooPwd XtOc5y3 SJpKYc60qk4Nhg6 LdDTyERBT LmQDJtIj ZV4Gp 61vtPc4vo2tsb89zOEYIhtsD
  • You can also edit the form title in the following textbox.
AD 4nXetZdb7I7AicMgUgnNzcj7IPaHBYt0zoSErrsWZYYzagEXKjRZlrdWrWzb E3vpdY5Zys96pfsm2PaJF5FJki2cCDyylQEZu CSUlF Py6Y Ar4q 73Z67JdnFxr9jJod5OUNlN
  • To edit the original form, click on the “Edit” button. This will take you to the individual SureForms editor on another tab.
AD 4nXeWOvzq9ZWHGm073KOzF QnZ3mD4BB FQpsCxVUBnt 0TUhyczLCdicwrRjg5De Wi6vQUe CtArSqOnh Y2Ccn4S5RzWwbZU7NXNJ YHUiN JWctitTLoWw CzAH4hmgt9Hg8nIQ
  • You can add any additional CSS classes under “Advanced”.
AD 4nXdQ1QLGneQI3G1RAbXNRJKjIekDDVqlMctX1KV8L4BZ1AFE9hcln3uWoGc1HU2WueMvVIHZoqRlzVupcyBKuCJx7xWlhEfY4JOJhptiebwCD93 QYOkcTysFrSDOPqsi6fCL4Ju A

Adding SureForms Forms Using Shortcodes In Gutenberg

You can also add the SureForms with the help of a shortcode in your Gutenberg editor. To do this:

  • Go to SureForms > Forms then copy the shortcode under “Shortcode”.
AD 4nXeghOH4jXPE6ldDpmspzmhDj7ROpmv8YALqXEu5F7DSj6YgF1DMpaqD5 HVd4773IPfoOtKpfQVT6KJ8rJGVtsgvJQ90Y8rybz2OkxgF JddHuQmfSkylCUEeglGquUvTJE9zZ0
  • You can paste this shortcode in your Gutenberg editor normally or under the Spectra Container block using the preferred container layout.
AD 4nXc71XLQv00OqLBU0TaA6yOXBuySkoNm8yTYxfdTdS0D4kZCHD9KDRxP GgjMHZp4LvblisV5vw TLzYtCQ9gvPpAjl8E4SsJiWZzK1OCDuBBpj6EZEZvHZQI LCykyvIQOPIm02ww

Now, when you save the page/post, the SureForms form associated with this shortcode will be visible on the front end. For example:

AD 4nXcGFIMLEAHPgQPrp4eq3txkGLJ5DLWY5gZ3 OT91SV0bOG8aI FSzDU0fO82wF7L0VAXBW7gjPiJovpv 4c1Ec IyJ7EFnhwn6FGE 9UDBcw3SoY5kCmQmSRVezE2677fAy09 PEw

You can use this shortcode on different areas or widgets on your site to embed the SureForms form however you want.

And if you have any other questions, feel free to reach out to us, We’re here to help!

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Scroll to Top