PHP - Text field w/ multiple inputs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jpreston
    New Member
    • Feb 2008
    • 1

    PHP - Text field w/ multiple inputs

    I am wanting to minimize the number of text fields on my page and would like to reduce the city, state, and zip fields into one "location" text field (ex. yellowbook.com' s "Location" text box). I'm assuming that you need to parse the input and do a bunch of data validating, but was wanting to see if anyone has had any experience w/ this before jumping into it.

    Thanks in advance
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    You can do that, but it will be a hell of a lot of work to validate that stuff. You'll need a couple of regular expresions to do that. Having 2 text fields more is likely to give less hassle. But it's your form, so I shall not argue about this.

    Ronald

    Comment

    Working...