By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,751 Members | 1,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,751 IT Pros & Developers. It's quick & easy.

PHP - Text field w/ multiple inputs

P: 1
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.'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
Feb 15 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 4,258
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.

Feb 15 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.