Thankful to Krajee!
to get more out of us.

Advanced usage examples of the CheckboxX plugin.


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)

Initialize rating with a predefined value. Automatically reset value when form is reset.
    <label for="input-21" class="cbx-label">Status</label>
    <input id="input-21" name="input-21" data-toggle="checkbox-x" value="1">
    <button class="btn btn-primary">Submit</button>
    <button type="reset" class="btn btn-secondary">Reset</button>
Using plugin methods. For example, click the button, to set a value via javascript at runtime, then disable the checkbox, and refresh the checkbox. Click again to undo.

<label for="input-27" class="cbx-label">Rate This</label>
<input id="input-27" name="input-27" data-toggle="checkbox-x">
<button type="button" class="btn btn-secondary btn-test">Toggle Refresh</button>
Using plugin methods. Destroy and recreate the plugin.

<div class="checkbox">
    <label for="input-27a">
        <input id="input-27a" name="input-27" type="checkbox" data-toggle="checkbox-x" data-enclosed-label="true">
        Check Me
<button type="button" class="btn btn-danger btn-destroy">Destroy</button>
<button type="button" class="btn btn-success btn-recreate">Recreate</button>


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.