Looking for an easy way to link a button to a form in WordPress? This guide will show you how to link a form to a button in WordPress without having to write a single line of code!
Approximate read time: 4.5 minutes
You don’t have to know how to code to do incredible things in WordPress.
You’d be surprised how you can customize your WordPress website with a few simple plugins. That includes having a button that links to a form.
And that’s exactly what this post will show you today. We’ll show you step-by-step how to link a button to a form in WordPress with the Formidable Forms WordPress plugin.
Let’s get into it!
Can you link to a form in WordPress?
Yes, you can link to a form in WordPress, and it’s surprisingly simple!
Visitors can easily find your form if you create a page for your form and add a button or a link to open it.
But some plugins make it much easier for you. And Formidable Forms is one of those.
So, let’s show you how easy it is to link your form in WordPress using Formidable.
Want to send users to another page after they hit the submit button? Here's how to redirect after form submit in WordPress.
How to link a form to a button in WordPress
Step 1: Install and activate Formidable Forms
To get started, you first need to install and activate Formidable Forms. If you don't have a plan, pick up the top WordPress form maker now.
Once you have the plugin installed on WordPress, open Formidable and then select Add-Ons.
Scroll down or search for the Bootstrap Modal Add-On, then click the blue button to Install and Activate the feature.
Now you're all set up and ready to start making your Bootstrap modal popup form! That wasn't so bad, right?!
Step 2: Create your form
Okay, to start creating your form, go to Formidable → Forms and click + Add New icon in the top bar.
Click Blank Form or choose one of our form templates to get a headstart.
Afterward, you can give your form a name and click Create to start building and customizing it.
Next, you’ll be in our beginner-friendly drag-and-drop form builder. We call it simple because if you can click and move a mouse, you can master this builder.
So, click a form field and drag it to the form to add it to your form.
You can add any form fields you like to make your form unique. Customize the labels, add required fields, and style it as you see fit. We'll create a simple contact form as an example.
Once finished, click Update in the top right corner to save your form.
Step 3: Create your Bootstrap modal WordPress popup
Don't worry. It's way easier than it sounds to create a Bootstrap modal popup in WordPress!
Go to the post or page where you want to add your popup and click the + to a new block in the Gutenberg WordPress page editor.
Then, click on the Formidable Modal block to add it to your page.
You can now add the button text you want to appear.
Next, inside the modal, click + Add block to insert your form into the popup.
Pick Formidable Forms this time. All that's left is to select your form from the dropdown menu!
Update or Publish your WordPress page/post, and you're done!
Ready to create modal forms in WordPress?
Linking a button to a form on your WordPress site is more straightforward than it seems, thanks to our Bootstrap modal form plugin.
We hope you can now confidently create WordPress forms that open at the click of a button.
And since you linked the button to a form on the same page, visitors won’t have to leave your page to fill out your form. That’s much better than your form opening in a new tab.
So be ready to get more form submissions than ever before!