How to Add Buttons to a WordPress Form
Your Submit button is gray. Or blue, or whatever color your theme decided for you, and it says “Submit,” because that’s the default and you never touched it. Not exactly a button that makes someone want to click it, is it?
Maybe you don’t want a boring Submit button at all. You want something that says “Get a Quote” or “Download Now,” something that looks like a real call-to-action button in WordPress, not a text link someone has to go hunting for. Maybe you want a second button entirely, something like “Learn More” sitting right next to Submit, without breaking the form that’s already working.
If you’ve gone looking for how to add buttons to a WordPress form, you’ve probably found a pile of advice that assumes you already know CSS, or that sends you off to install a whole page-builder plugin just to style one button. You don’t need any of that.
Yes, it’s a little annoying that WordPress doesn’t hand you a button-maker out of the box. But it’s also a quick fix, and there’s more than one way to get there depending on what “button” means to you.
What you’ll need
- Ninja Forms (free)
- [Optional] The Layout & Styles add-on (for point-and-click button styling with no CSS at all; standalone, or included with memberships)
Your Submit button doesn’t have to stay plain
Every Ninja Forms form comes with a Submit button already built in, and you can change what it says without touching a line of code. Open its settings, update the Label, republish, and you’re done. That covers the single most common request we hear from anyone trying to add buttons to a WordPress form: “I just want my button to say something else.”
- In the builder, open the Form Fields tab and click the Submit field on the canvas to open its field settings window.
- Change the Label field to whatever you want the button to say, like “Get a Quote” or “Join the Pack.”
- If you want, update the Processing Label too. That’s the text the button briefly shows while the form submits behind the scenes (it defaults to “Processing”).
That’s it. No plugin, no CSS, no add-on. Republish and your button says what you told it to.
Want to theme the button, not just relabel it? There’s a hook for that, but it comes with a catch: Ninja Forms core doesn’t hand you a color picker for the Submit button. Here’s the workaround:
- Turn on Developer Mode under Ninja Forms > Settings > Advanced Settings. A Display settings accordion appears on the Submit field.
- Type a class name into the Custom Class Names option (the Element field). Ninja Forms tags the button with it.
- Style that class with your own CSS, wherever you keep it. You still have to write that CSS yourself.
The same trick works on other field types too. If you’ve ever wanted your radio or image choices to look more like toggle buttons, the door’s open, but you’re on your own for the styling there.
If writing CSS isn’t your idea of a good afternoon, skip on down for the no-code version of this.
The classic way to add buttons to a WordPress form
Ninja Forms has an HTML field built for this. Drop it anywhere in your form, paste in a styled link, and it renders as a real, clickable button, not a plain underlined text link. This is the same method people have used to add buttons to a WordPress form for years, and behaviorally, it still works today.
- Open the Form Fields tab, click the blue (+) icon to open the Fields window, and choose HTML from the Layout Fields section.
- Click the new HTML field to open its settings, then click the “</>” icon in the field’s built-in editor to switch to code view.
- Paste in an anchor tag styled to look like a button.
- Click “</>” again to switch back to the visual view. You should see your button rendered right there in the editor’s own preview, not just a line of code.
- Save the field, then publish the form. Closing the field panel alone doesn’t save the form; the Publish button in the top right does that.
Something like this works well: <a href="https://example.com" style="display:block;background-color:#3F82D9;color:#ffffff;text-align:center;border-radius:4px;padding:12px;text-decoration:none;">See Sample Newsletter</a>. Swap in your own link, your own colors, and your own button text.
That’s all there is to it. Publish, and you’ve got a real second button living wherever you dropped that field, styled the way you told it to be, sitting right alongside your relabeled Submit button.
Between those two tricks, your Submit button says what you want and you’ve got a real second button wherever you need one. If you’re not running Ninja Forms yet, this is a good moment to grab it free and try both on your own form.
Give Ninja Forms a try today!
Ninja Forms is free! Optional premium features available with any membership.
Want people to land somewhere specific after they click submit?
A call-to-action doesn’t always mean a second button sitting on the page. Sometimes it means where people end up after they hit Submit. Ninja Forms has a Redirect action for that: point it at a page, and every visitor who submits your form lands there automatically.
- Open the Emails & Actions tab, click the blue (+) icon to open the Actions window, and choose Redirect.
- Set the URL field to wherever you want people to go, like a thank-you page, a download, or a landing page built for this offer.
- Toggle the action on, and publish the form.
Submit the form yourself once to make sure it sends you where you expect, and you’re done. It’s not a button on the page, but it’s a legitimate answer to “I want a call-to-action that takes people somewhere,” if what you care about is the destination and not a second thing to click.
Want to skip the code completely?
If writing your own CSS, or waiting on a developer to write it for you, isn’t how you want to spend your afternoon, one add-on covers the rest of this without any code at all.
Layout & Styles adds a real visual editor to the builder. Instead of typing a class name and hunting for somewhere to put CSS, you point and click: background color, border, size, padding, right there in the field settings. It’s the no-code version of the Custom Class Names trick from above.
Make your form’s buttons work as hard as the rest of your page
You now know how to add buttons to a WordPress form three different ways, and none of them required a developer. Relabel Submit, drop in an HTML button, send people wherever you want after they click, whichever one solves your problem. You never needed a full page-builder plugin for any of this, just the right corner of the builder.
Curious what else Ninja Forms can do for the rest of your form? Explore the full library of add-ons and see what else is worth adding.
Try Ninja Forms Today
Always free, with premium features available through our memberships.
How do you get it to actually submit to the Ninja forms database?
Shanita,
Hey! Each submission is stored int he WordPress database itself, and is viewable via Ninja Forms>Submissions.
Please feel free to reach out to our support channel if you need a hand here! https://ninjaforms.com/contact/
Cheers,
Quay
How is the email address field and subscribe button aligned next to each other in the newsletter subscription form at the bottom of this page?
Harris,
Layout and Styles! https://ninjaforms.com/extensions/layout-styles/
Cheers,
Quay
Nija forms have always been very helpful to me. Thank you so much guys! you have developed the best plugin ever! has been great help to my site. I cannot thank you guys enough.
Always love to hear this, so glad to be able to help!
How do i create subscribe button with ninja forms ?
Your best bet for a Subscribe button would be to just use the Submit field and rename it Subscribe (click on it in the builder to open the field settings, then replace Submit with Subscribe). It’s already styled as a button, so no extra work there 🙂
Cheers,
Quay
This may be complicated to explain but its my GDPR (UK data protection that doesn’t allow you to capture leads in exchange for an offer without express consent) workaround and I want to know if Ninja Forms has the capability. My lead magnet offer would have the following:
– Description of offer
– Box to enter email
– Text that says something like: while we’re here why not join our mailing list
– Large button that says: Join (joins mailchimp/convertkit list AND gets sent offer as an email automation)
– Small linked text under button that says: No thanks, just send me my offer (gets sent offer as email automation but doesn’t get added to mailchimp/convertkit list)
Hi,
Yes, this is achievable within Ninja Forms. We have an article available with instructions on how you can make your mailing list forms (such as MailChimp and Convertkit) compliant with GDPR. You can view this here:
https://ninjaforms.com/gdpr-compliance-wordpress-forms/
If you encounter any issues or have followup questions, please reach out to us at https://ninjaforms.com/contact/ in order to get a timely response.  There, we offer support free support directly to our Ninja Forms users with significantly more privacy and a faster response time.
Best regards,
Curtis
WP Ninja
Is it possible to use this technique to create a Print button on a Ninja form so the user can print their submission out to their printer?
Possible yes, but not without some custom work. That would take a bit of programming for the button to actually communicate to the printer, and that’s not something the plugin is capable of right now. Sorry.
Hi,
I have a form in my website, and I want to give customers 2 options when they fill it:
Option 1 – Proceed to payment
Option 2 – Call us on WhatsApp to know more
How can I do this? I want the infos from clients to be stored as usual, but according to what the user wants, he/she would be redirected to a different link. What I wanted is the option to have 2 submit buttons on the same form, each one going to one link, both keeping user data they filled registered.
Can this be done with Conditional Logic Addon? Or maybe with another one? Can you help me with that?
Thanks!
Amanda