Re: HTML text area appears in the wrong place

From: Date: Sun, 28 Dec 2014 16:25:33 +0000
Subject: Re: HTML text area appears in the wrong place
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-324170@lists.php.net to get a copy of this message
Hi Tedd, The reason I'm using a text area to get the address is this form is that this is for an exercise in a book I'm reading. But I agree with you that this its best to use separate fields normally if you're creating a real form for regular use. Thanks, Tim Sent from my iPhone > On Dec 28, 2014, at 10:09 AM, Tedd Sperling <tedd@sperling.com> wrote: > >> On Dec 27, 2014, at 9:34 PM, Tim Dunphy <bluethundr@gmail.com> wrote: >> >> Hey gang, >> >> Quick q here. And I think this might be an easy one. But I'm unsure as to why this is >> happening. >> >> I've created a text area in an HTML form with the intention of getting the user to >> enter an address. > > Why use a "text area" to get an address? > > An address is made of several different things, like street address, city, zip and country. So > why ask the user to enter all of those into one field? > > My advice, break the date into smaller queries using text fields. If you want to gather > something more, such as a user comment, then use a "text area" field. > > As usual, here's an example of both: > > http://sperling.com/php/text/ > > Cheers, > > tedd > > _______________ > tedd sperling > tedd@sperling.com > > > > >

« previous php.general (#324170) next »