Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Using a list box to determine a search page

Posted 15 Oct 2004 20:04:44
1
has voted
15 Oct 2004 20:04:44 john henderson posted:
Hi all,
I have created a simple page that contains an input field within a form and a submit button (www.4golfers.co.uk/clubsearch3.php). All works fine like that. What I would like it to do is have a list menu so that the user can select the type of search they require i.e. club, town or county. Now I dont know whether you can have multiple searches on the one page or they should be kept seperate as I have done. I have even thought of using the drop down menu as the source for the search page. But I can't get DW to do it. I can supply the source code if required or maybe you have a better solution. Looking forward to any response.

THanks for your assistance, may be one day I'll be able to help you.

Replies

Replied 15 Oct 2004 21:22:43
15 Oct 2004 21:22:43 Rene Bandsma replied:
I should create a dropdown menu with al the cities in you database, because if I enter a city that don't exsist I don't get an error. The dropdownmenu should be linked with an textbox with the option 'take over city'. That link will put the selected dropdownmenu inside the textbox.

Another option is to make a option to 'select a city from the list'. When a user clicks the link a new window opens and the user can click on his / her city. Above you can set a linklist to go quickly to the city A | B | C .... Z. WHen a user clicks on it the window automaticly closes and fills the selected city in your textbox.

Edited by - bandsma on 15 Oct 2004 21:24:34

Reply to this topic