Tristate checkbox

Provide a tristate checkbox to allow three values to be represented.

This plugin integrates with the jQuery Tristate plug-in to provide the ability to use a single checkbox input to represent three different states. Another way of doing this would be with radio, but this plugin can be useful due to how compact it is.

Plug-in configuration and API

Options

This field type supports the following options, in addition to the default field-options configuration:

  • object options: Options passed directly to the Tristate library. Please refer to its documentation for details. You'll need to set checked, unchecked and indeterminate parameters to define what value those states should have.

Methods

This plug-in does not provide any additional methods over those available for the all fields (see field()).

License required

The Editor plug-ins are available to download for licensed users of Editor only. If you already have an Editor license, please . Otherwise, an Editor license can be purchased to be able to access the plug-ins.