>>I want the user to be able to press enter in
>>navigating the fields on the form. When the
>>field is a checkbox it toglles the data on and off.
>
>***Checkbox KeyPress Event
>if nKeycode=13
>this.tag="p"
>thisform.checkvalue=this.value
>endif
>
>***Checkbox LostFocus Event
>if this.tag="p"
>this.tag=""
>this.value=thisform.checkvalue
>endif
I wonder if this could be an easier way out:
***Checkbox KeyPress Event
if nKeycode=13
nodefault
this.LostFocus
endif
Don't have time to experiment at the moment, but I'll try later.