Krajee
Thankful to Krajee! BUY A COFFEEor to get more out of us.

Automatically highlight and style the plugin differently for various bootstrap contextual color states (i.e. error, success, and warning.)

Tip

Not seeing the updated content on this page! Hard refresh your browser to clean cache for this page (e.g. SHIFT-F5 on Windows Chrome)

Get the checkboxes to contextually show different statuses. The plugin includes bootstrap styled contextual colors similar to form-control styled inputs. Include one of these CSS classes in your container enveloping the checkbox: has-success, has-error, or has-warning.
<div class="mb-3 has-success">
    <div class="cbx-krajee">
        <label class="cbx-label" for="check-1h">Success</label>
        <input id="check-1h" type="checkbox" value="1" data-toggle="checkbox-x" data-size="xl">
    </div>
</div>

<div class="mb-3 has-warning">
    <div class="cbx-krajee">
        <label class="cbx-label" for="check-2h">Warning</label>
        <input id="check-2h" value="1" data-toggle="checkbox-x" data-size="xl">
    </div>
</div>

<div class="mb-3 has-error">
    <div class="cbx-krajee">
        <label class="cbx-label" for="check-3h">Danger</label>
        <input id="check-3h" value="1" data-toggle="checkbox-x" data-size="xl">
    </div>
</div>

Note

You can now visit the Krajee Webtips Q & A forum for searching OR asking questions OR helping programmers with answers on these extensions and plugins. For asking a question click here. Select the appropriate question category (i.e. Krajee Plugins) and choose this current page plugin in the question related to field.

The comments and discussion section below are intended for generic discussions or feedback for this plugin. Developers may not be able to search or lookup here specific questions or tips on usage for this plugin.

 
visitors to Krajee Jquery Plugins since 22-May-2017