Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Drop-Down having no effect on results

Status
Not open for further replies.

pendle666

Technical User
Jan 30, 2003
295
GB
Hello

My form has several fields for user entry plus a a drop-down field with several placename options for the user to select, if they wish.

If the surname field is completed with 'Smith' then all Smith's are displayed, but if I select 'Smith' with the dropdown placename to Douglas, I still get just Smith's but all placenames given, not just Douglas.

I'm not sure whether it's the HTML, CSS or the background database which needs looking at - it's a long time since I did any work on this form.

Any help appreciated.

Pendle
 
Not likely to be either HTML or CSS as neither would have a way of affecting any dynamically generated information in the form.

I don't even think its the background database, more likely it will be whatever programing language you are using to connect to the Database and extracting the data with.

Perhaps the dropdown has no actual connection to the DB to determine what to display.

I suggest you post in the forum for the programming language being used.
Here are a few:

forum434
forum333
forum232

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Thank you very much - I will try the PHP forum first.


Pendle
 
Well, it could be the HTML to blame - if the <select> element which holds the drop-down is outside the <form> element, it'll never get passed on to the script. But without a URL to look at we can't really tell.

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top