The default horizontally grouped checkbox controls do not have an icon and the vertically grouped checkbox controls do not use the active state theme. This recipe shows you how to customize the checkbox and add these styles. It also shows you how to adjust the layout to handle varying screen sizes. You will create a simple Blog Subscription form in this recipe.
Copy the full code of this recipe from the
code/05/custom-checkbox sources folder. This code can be launched using the URL
The form is first created with the horizontal and vertical group of checkbox controls. The horizontal checkbox controls are customized by adding icons to them ...