This post has been migrated from www.experimentsincode.com, we apologise if some of the images or content is missing

This post has been migrated, original date 17 Mar 2010 It seems that the Niceforms JavaScript does not raise the onchange event of the original checkbox when the checkbox image is clicked. To correct this problem, and assuming you are using jQuery you need to find the inputCheck function in the NiceForms.js file. Then update the el.dummy.click function as follows:
       el.dummy.onclick = function() {
		if(!this.ref.checked) {

			this.ref.checked = true;
			$(this.ref).change(); //added
			this.className = "NFCheck NFh";
		}
		else {

			this.ref.checked = false;
			$(this.ref).change(); //added
			this.className = "NFCheck";
		}
	}