BetterXforms jQuery plugin
This plugin improves the look and feel for EPiServer xforms and adds support for iCheck jQuery plugin.
Features
- Works with Bootstrap 2.3.x and Bootstrap 3
- Adds support for iCheck jQuery plugin (all iCheck features are supported)
Getting Started
In order for the plugin to work you need to modify the output from xfoms. Remove all table markup and replace the TD elements with a DIV element.
The markup should look like this.
Name
- Include CSS
bootstrap.betterxforms.css
- Include JS
jquery.betterxforms.v1.0.js
- Add the code below after the dom is ready.
;
Bootstrap 3 will be used by default. If you want to use Bootstrap 2.3.x add the bsv option.
;
If you want enable iCheck you need to do the following.
- Include CSS
bootstrap.icheck.css
- Include CSS
iCheck/skins/square/blue.css
(Or any other skin you like) - Include JS
jquery.icheck.min.js
- Add the code below after the dom is ready.
Notice that the checkboxClass and radioClass have to cohere with the iCheck skin you included. In this case it's the blue version of the square skin.
;
Dependencies
Changelog
- v1.0 - Completely new release
- v0.2 – Some performance improvements
- v0.1 – Initial release