Re: [PHP-DB] Forms question..

2002-10-20 Thread .: B i g D o g :.
1. document.formname.elementname.focus(); Example: if my form has a name of testform and the first element is fname... then in the body tag i would do this... 2. Yeah, you need to use the select() method... so document.testform.element.select(); Example: That should work...or it might have

RE: [PHP-DB] Forms question..

2002-10-20 Thread John W. Holmes
> When I have an input form I must click on the first input field. Is there > anyway to have it active when the form loads? Javascript, not PHP. Something like document.form.element.setfocus(), I think. > #2 When I tab down to the next input field, is there anyway to have it > highlight what is

[PHP-DB] Forms question..

2002-10-20 Thread James Hatridge
Hi all... When I have an input form I must click on the first input field. Is there anyway to have it active when the form loads? #2 When I tab down to the next input field, is there anyway to have it highlight what is in the field (ie the default data) so that it will overwrite it? #3 How c

Re: [PHP-DB] Forms Question

2001-09-06 Thread Paul Gardiner
?> - Original Message - From: "Steve Cayford" <[EMAIL PROTECTED]> To: "Jeff Grossman" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, September 05, 2001 11:36 PM Subject: Re: [PHP-DB] Forms Question > > On Wednesday, September 5, 20

Re: [PHP-DB] Forms Question

2001-09-05 Thread Michael Garvin
The solution is easier than you think. You'll need to insert an if statement in your option html tag that says echo "Signal Hill\n"; should become: echo "Signal Hill\n"; Jeff Grossman wrote: >Hello, >Here is the code I have: > >while ($row=mysql_fetch_array($result)) { > $store=$row["store

Re: [PHP-DB] Forms Question

2001-09-05 Thread Steve Cayford
On Wednesday, September 5, 2001, at 04:50 PM, Jeff Grossman wrote: > Hello, > Here is the code I have: > > while ($row=mysql_fetch_array($result)) { >$store=$row["store"]; >$jobdesc=$row["jobdesc"]; > echo ""; > echo "Store: > > Signal Hill > Reseda > O

Re: [PHP-DB] Forms Question

2001-09-05 Thread Bas Jobsen
ot; would also work i should use: while (LIST($store,$jobdesc)=mysql_fetch_row($result)) { . - Original Message - From: "Jeff Grossman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 05, 2001 11:50 PM Subject: [PHP-DB] Forms Question > Hello, >

[PHP-DB] Forms Question

2001-09-05 Thread Jeff Grossman
Hello, Here is the code I have: while ($row=mysql_fetch_array($result)) { $store=$row["store"]; $jobdesc=$row["jobdesc"]; echo ""; echo "Store: Signal Hill Reseda Orange West Covina Riverside Norwalk Fountain Valley