Gavin has attended:
Dreamweaver 8 Introduction course
Dreamweaver 8 Intermediate course
Linking forms
I want to have 2 drop down menus
Counties and Cities.
How can i link the forms/text boxes so that when a county is selected in the first drop down menu, the cities/towns in that county are then listed in the second drop down.....and then from there onto a page for that town selected?
DreamWeaver and HTML Linking drop down boxes and forms
Hi Gavin
I hope you found your dreamweaver 8 courses useful.
The way that I would do this would be to get the values that you want to put in your drop down boxes, dynamically from a database. To do this you basically set up a database on your webserver, and then you can get the values you want in your drop down boxes using SQL.
Hope this helps
David
RE: DreamWeaver and HTML Linking drop down boxes and forms
hi Daviv,
where can i find out how to do this?
Thanks
gavin
RE: DreamWeaver and HTML Linking drop down boxes and forms
Hi Gavin
Firstly you will need to purchase web hosting with database backing, the provider that I personally use for this is easyspace.
Once you have done this, it would be a good idea to learn SQL and and a web programming language such as JSP or PHP. This will give you a good understanding of how to do this.
Hope this helps
David
RE: Linking forms
Gavin,
It's a little bit complicated. Usually this is achieved by using Javascript, so you may want to read up on how to implement Javascript into your web pages.
There's a brilliant example of what you want here.
Be prepared for it to take a while and lots of fiddling to get it perfect.
Good luck.
Rich