Click to See Complete Forum and Search --> : Checkbox properties failure


britinusa
08-18-2005, 10:01 AM
Can anyone tell this newbie WHY this snippet generates an Object Required error at line x> ?

<form action="whatever.cfm" method="post" name="eggs">

<input type="checkbox" name="alldayevent" onClick="whichisit(this.form);"> All day event

<script language="javascript">
function whichisit(form){
x> var t=form.alldayevent.checked;
}
</script>

</form>

This seems SO simple and matches examples in all 3 of my textbooks.
Robert

britinusa
08-18-2005, 10:22 AM
When I simplified it, I realized it was caused by overlapping <form > s.
DOH.