>>There has to be a better way to do this: Try this (not checked): function checkAll( form ) { for (var i = 1; i<= 5; i++)form['a'+i].checked = form.checkall.checked } -- _______________________________________ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: piegeacon at internetique.com) Thanks.