Re: [PHP] How to set focus in a form field

2002-07-11 Thread Andre Dubuc
> This is JAVASCRIPT problem because it is on the client end. Thanks to everyone who responded. I sort of thought it would be a 'Client-side' problem. Oh well, since I'm not prepared to use any javascript, I guess I'll have to live with it. Sigh . . . Thanks again, Andre > > -Original Me

Re: [PHP] How to set focus in a form field

2002-07-11 Thread David Otton
On Thu, 11 Jul 2002 11:25:50 -0400, you wrote: >Is there anyway to automate this, so that when a page loads it automatically >goes to the first field, and 'highlights' the entry area? (Btw, I tried >'tabindex=1' but it still does not do what I'd like it to. Javascript, not PHP. Look up the foc

RE: [PHP] How to set focus in a form field

2002-07-11 Thread Richard Black
You can do it with JavaScript. Something like: document.formname.fieldname.focus(); At the bottom of the page, replacing formname and fieldname with the appropriate values, obviously... HTH Richy == Richard Black Systems Programmer, DataVisibility Ltd