automatically select a form field

  • Thread starter Thread starter Steve G
  • Start date Start date
S

Steve G

When opening a form, is there a way to automatically position the curser in
the 1st (or any ) field?
I'm using FP2002 with IIS
Sorry if this has been answered in the past. I did a search on the last 1k
posts and didn't find any reference.

Thanks and Merry Xmas

Steve G.
 
Hi Steve,
modify your body tag to look like this
<body onload="document.forms[0].elements[0].focus();">
 
Jon....Worked like a charm. Thanks soooo much!
jon spivey said:
Hi Steve,
modify your body tag to look like this
<body onload="document.forms[0].elements[0].focus();">

--
Jon
Microsoft MVP - FP

Steve G said:
When opening a form, is there a way to automatically position the curser in
the 1st (or any ) field?
I'm using FP2002 with IIS
Sorry if this has been answered in the past. I did a search on the last 1k
posts and didn't find any reference.

Thanks and Merry Xmas

Steve G.
 

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

Back
Top