Add a Form to WordPress

Build your form in Edesy Forms, copy the embed code and paste it into a Custom HTML block or your page builder. Show it inline, as a popup or as a slider. No plugin to install.

How to add a form to WordPress

Four steps, no plugin

Build your form
Sign up free and build a form or start from a template
Copy the embed code
Open Share, pick inline, popup or slider and copy the code
Paste in WordPress
Add a Custom HTML block, or an HTML element in your page builder
Publish and test
Update the page and submit a test response

Three ways to show your form

Pick the style in the Share dialog before you copy the code

Inline

The form sits inside your page content and resizes to fit its height automatically.

Popup

A button opens the form in a small, medium or large popup. It can also open on page load.

Slider

A button slides the form in from the left or right edge, at the width you choose.

What the embed code looks like

You copy the exact code from the Share dialog in Edesy Forms. It is a small HTML element plus one script tag. An inline form looks like this:

<div data-edesy-form="YOUR_FORM_ID" data-auto-resize="true"></div>
<script async src="https://form-app.edesy.in/embed.js"></script>

A popup uses a button instead:

<button data-edesy-popup="YOUR_FORM_ID" data-size="medium">Contact us</button>
<script async src="https://form-app.edesy.in/embed.js"></script>

Where to paste it in WordPress

  • Block editor (Gutenberg): add a Custom HTML block and paste the code.
  • Elementor: drag in the HTML widget and paste the code.
  • Divi: add a Code module and paste the code.
  • Classic Editor: switch to the Text tab and paste the code where the form should go.
  • Every page (popup or slider): paste the code into a site-wide footer area that accepts HTML, such as a Custom HTML widget.

If the form does not appear

  1. View the published page, not the editor preview.
  2. Check that the script tag is still in the page. Some roles and hosted plans strip scripts from content.
  3. If scripts are not allowed, link a button to the form's public URL instead.
  4. On Pro, if you limited which sites can embed the form, add your WordPress domain to the list.

Want to pass campaign data? The embed can forward UTM tags from your page URL into the form, so each response records where the visitor came from.

What your WordPress form can do

Included on the Free plan unless noted

Drag-and-drop builder

Multi-page forms with 13 question types, from short answer to NPS and file upload.

Conditional logic

Show, hide, require or disable a question based on earlier answers.

Spam protection

Cloudflare Turnstile CAPTCHA, plus password protection and response caps.

File uploads

Up to 10 MB per file on Free and 100 MB per file on Pro.

Email notifications

Get an email for each response. Pro adds confirmation emails to respondents.

Integrations

Send responses to a webhook, Slack, Discord or Zapier.

Analytics

Views, submissions, completion time and drop-off by question.

Themes

Set colours, fonts, logo and cover image to match your site.

Why embed instead of installing a plugin

Less to maintain on your site

Compared with a form plugin

  • Nothing to install

    No plugin to update or keep compatible

  • Same form everywhere

    Embed one form on WordPress and other sites

  • Responses in one place

    View, analyse and export as CSV in Edesy Forms

  • Free to start

    Unlimited forms and responses under fair use

Useful WordPress forms

  • Contact and enquiry

    Capture leads from any page or post

  • Feedback and NPS

    Ask readers and customers what they think

  • Registrations

    Events, webinars and workshops

  • Quizzes

    Engage readers with a quiz in a post

WordPress forms FAQ

Explore more

Templates, features and other ways to use Edesy Forms

Put a form on your WordPress site today

Sign up free, build a form and paste the embed code into your page.