Thank you helping me out!<BR>I'm using VBScript.<BR>I know that in Visual Basic, "me" refers to the form name.<BR><BR>In my case, I know the name of the form. But I don't know the field's name because it changes during the script. The script validates the form and I would like it to set the focus on the field that have an error.
I know 'this' refers to the object you're referencing... not just the form. I'm not familar enough to know if 'me' does.<BR><BR>It looks like you have one function maybe? And depending on the field, you want to set focus?<BR><BR><SCRIPT><BR>Function myFunction(mybox)<BR>mybox.focus<BR>End Function<BR></SCRIPT><BR><BR><BR><INPUT TYPE=TEXT NAME=whatever onblur="myFunction(me.name)"><BR><BR>I'm grasping here... and I'm not really up on client side VBScript, so there may be some errors here.