Changing focus in a form

A

Alex567

I use a form with several drop-down list boxes and I am having the well-known
problem with wheel mouse users accidentally changing their selections. Each
Select List has a piece of VBScript on the "change" event to check the user's
selection. Is there any way that I can use the VBScript to firstly check the
selection and then move the focus away (as in the VB SetFocus method) to
prevent accidental alteration of the users selection.

I have tried the onMouseWheel=return false stuff but that doesn't do the job.

As an alternative how can I lump all my selection validation onto the submit
button of the form? The onSubmit code for the form is already occupied by the
automatic code placed their by Frontpage as follows:-
onSubmit="location.href='_derived/nortbots.htm';return false;"
Can I get the onSubmit event to run some VBscript before it runs off to the
webbot?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top