So, just to clarify this for others, on your demo page this hidden input's name is:
testtristate
from the config:
Code:
<script type="text/javascript">
var testCheck1 = new TriStateBox();
testCheck1.init(document.getElementById("testingtristatecontainer"),"testtristate","testCheck1",0);
</script>
In this manner each new TriStateBox() can, and probably should (unless multiple TriStates are to affect the same named value) have its own hidden input to hold its value. The value (on your demo page - this would depend upon the images used) when unchecked is 0. When checked with a check mark, the value is 1. When checked with an x, the value is -1.
Other matters related to this script are that the images it uses should be preloaded - And does it have a non-javascript fall back?
Oh, and there still is no link I could find to the zip archive mentioned in your first post, so no easy way to get the code and images together.
Bookmarks