I have a database that contains the following data: - ID- Postcode- Eastings- Northings- Longitude- Latitude- Town- Region- County- Country I need my users to be able to select a region and then be shown corresponding towns and be able to select a town. The theme of the website is to upload publications and they need to be localized. The problem I'm encountering is what if a user has a publication in many regions and/or many towns? Is there anything I could do in Javascript to allow the user to select multiple regions/towns? Thanks.
Yes you could do this. Use <select multiple="multiple" name="region1[]"></select> for each region form and increment the number by 1 for each region select field. Then just show a normal select menu for the town.
Thanks, I'm not overly familiar with JS. How would I show the corresponding town/s depending on region/s selected? Thanks again.
You will need ajax. Search for jQuery multiple dropdown. Something like: http://jqueryfordesigners.com/populate-select-boxes/