InputfieldSlideToggle by BitPoet

Smartphone style sliding toggle as replacement for plain checkboxes

InputfieldSlideToggle

Sliding Toggle for the ProcessWire CMS

Description


Fieldtype and Inputfield that implements smartphone-style toggles as replacement for checkbox inputs. The visualization is CSS-only, no additional JS necessary.

Status


Beta, use with care

Features / Field Settings


Size

You can render the toggles in four different sizes: small, medium, large and extra large.

Off Color

Currently, "unchecked" toggles can be displayed either in grey (default) or red.

On Color

"Checked" toggles can be rendered in one of these colors: blue (default), black, green, grey, orange or red.

Checkbox Label

The optional text in the "Checkbox Label" inherited from InputfieldCheckbox, if set, will be shown to the right of the toggle.

Available Toggles

Small Toggles

Medium Toggles

Big Toggles

Extra Big Toggles

License


Released under Mozilla Public License. See LICENSE file for details.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Twitter updates

  • This week ProcessWire 3.0.214 is on the dev branch. Relative to 3.0.213 this version has 16 new commits which include the addition of 3 new pull requests, 6 issue fixes, a new WireNumberTools utility class, and various other improvements. More
    17 March 2023
  • ProcessWire 3.0.213 core updates: This week we’ll look at the new WireSitemapXML module, a new WireNumberTools core class, and a new ability for Fieldtype modules to specify useful ready-to-use configurations when creating new fields. More
    24 February 2023
  • ProcessWire 3.0.212 core updates— More
    17 February 2023

Latest news

  • ProcessWire Weekly #462
    In the 462nd issue of ProcessWire Weekly we'll cover the latest core updates, check out a new third party module called Template Access Log, and more. Read on!
    Weekly.pw / 18 March 2023
  • ProcessWire 3.0.213 core updates
    This week we’ll look at the new WireSitemapXML module, a new WireNumberTools core class, and a new ability for Fieldtype modules to specify useful ready-to-use configurations when creating new fields.
    Blog / 24 February 2023
  • Subscribe to weekly ProcessWire news

“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull