Setfocus

hi everyone

can someone please help me on this?

I want to make a form with several textboxes on it and i want the user to be able to go from one textbox to another pressing the enter key.How can i do this ?

i found a way using a hidden button and unsing the on(keypress “ENTER”) event and the selection.setfocus() function

what i’d like to know is if there is any other way,much easier?

thanks

I think that’s the easiest and only way. Use a variable, start from 0 and let it get bigger when you press enter, you should then add an onsetfocus: variable = “number”, to set it back.