How to Add and Set Up Bootstrap Switch Field Widget on Your Form

January 21, 2026

Jotform makes it easy to add toggle-style switches to your form with the Bootstrap Switch Field widget. Instead of standard checkboxes, this widget lets users switch options on or off with a modern, user-friendly design. It’s perfect for settings, preferences, or yes/no style questions where you want a clean, interactive look.

Here are a few ways to use it:

  • Let users turn features or services on or off in a signup form
  • Add a sleek yes/no toggle to surveys or feedback forms
  • Use it in booking or order forms to enable optional add-ons
  • And more!

Whether you’re creating a new form or updating an existing one, you can add and set up the Bootstrap Switch Field Widget in a few easy steps. Here’s how to do it:

  1. In Form Builder, click on Add Element on the left side of the page.
Form Builder Add Element menu in Jotform
  1. Now, in the Form Elements menu, under the Widgets tab, search for Bootstrap Switch Field and click on it. Or, just drag and drop it to where you want it to be on your form.
Form Elements Widgets tab showing Bootstrap Switch Field widget selection in Jotform
  1. Next, in the Widget Settings window that opens on the right side of the page, under the General tab, you’ll see this list of settings you can configure:
    • ON Label — Enter the custom text to display when the switch is turned on (left side).
    • ON Color — Choose the color to display when the switch is on.
    • OFF Label — Enter the custom text to display when the switch is turned off (right side).
Bootstrap Switch Field widget General settings showing ON Label ON Color and OFF Label options in Jotform
  1. Then, scroll down to the bottom and continue to set up these settings:
    • OFF Color — Choose the color to display when the switch is off.
    • Size — Select the size of the switch field.
    • Default Status — Set whether the switch is on or off by default when the form loads.
  2. Once you’re done, click on Update.
Bootstrap Switch Field widget settings showing OFF Color Size Default Status and Update button in Jotform

That’s it. You’ve successfully added and set up the Bootstrap Switch Field widget on your form. Want to see how it works? Check out this live demo form.

Note

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Podo Comment Be the first to comment.
Still have unanswered questions?

We’re here for you 24/7, anytime you need us day or night. Have a question or need a hand with something? Our team is always ready to help out.