cursor positioning

  • Thread starter Thread starter john
  • Start date Start date
J

john

I'm using an input form and displaying the results in an Access DB on the same page as the input form. For the confirmation page, I've entered the same page as the input/display page. After I enter text in the form and "submit", the page refreshes and correctly shows (in the Access table) the data I just entered.

My question: how do I get the cursor to return to the input form field after submit? Currently, I have to tab to it or select it with a mouse (even though when I first link to it, the cursor is correctly positioned on the input form).

TIA
john
 
You could try putting somethin in the <body> tage like:

<body onLoad="document.FORMNAME.FIELDNAME.focus()}">
 
Back
Top