RE: [PHP] Order of focus for text entry inputs

From: Date: Fri, 14 Sep 2001 05:35:10 +0000
Subject: RE: [PHP] Order of focus for text entry inputs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67311@lists.php.net to get a copy of this message
On 14-Sep-2001 Andrew V. Romero wrote: > I have a web page that is generated by a php script and on this page > there are several html text entry slots such as > echo "<b>Special Notes:</b><input name=\"specialNotes\" > size=\"65\"$prodNotes>"; > on one page. I fill in several of these input slots with default > values, but there are about 3-4 that require the user to manually type > an answer. I was wondering if there was a way to control which text > entry slots the cursor will go to when the user hits tab? Ideally I > would like the cursor to automatically move first to the three that > require the user to type something, and then move on to the slots that > already have a default value. Is this possible in php, I didn't see any > reference to giving items focus in the manual? If it is not possible in > php, is there some way that I can have this web page (that is being > generated by a php script) use javascript to create my desired order of > focus? In general I have not seen any javascript inside a php script, > although judging from a few other messages, this does seem to be > possible. > > Thanks for any ideas, > Andrew V. Romero http://www.w3.org/TR/html401/interact/forms.html#h-17.11 Regards, -- Don Read dread@texas.net -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it.

« previous php.general (#67311) next »