PDA

View Full Version : Zip Code Search Box?


brainfart
03-26-2003, 09:01 PM
How do I make some kind of form search box that will allow the user only to type in a 5 digit zip code
http://www.3hamms.com/pools/Dealer_Search.htm
Try the Zip Code Search Box
I tryed it this way but is there a way to only let the user see only the zip code that they type in like 60657
What I have now is say they select Illinois Zip Code they will see all of Illinois Zip Codes
I want to make the search much better than that
using broswers IE and Netscape

HELP

beetle
03-26-2003, 09:07 PM
it looks like that's all static content, which means 'no'

It may be dynamic and I'm fooled by mod_rewrite or something, so let me know of those zip-code result pages are dynamically generated.

Quiet Storm
03-27-2003, 02:48 AM
ynamicly generatid, I think, would be the best way to go - but a lot of coding is required.

I've a script that could be modified in such a way:

Mine: Select Location > Country > State/Division

Yours: Select State > City > Zip Code

It can work! :thumbsup:
http://angelfire.com/mo2/cbch21/TEST/Country.CitySelect2.html

beetle
03-27-2003, 07:30 AM
Well brainfart, what I'm saying is that if these result pages are not dynamically generated, then you can't do this with javascript. Well, you can actually, but just shouldn't. The scripting absurdity required to to achieve such a result isn't deserving of mention here, I just plain wouldn't do it, regardless that it is technically possible.