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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

drop down boxes on asp

Status
Not open for further replies.

nonprogrammer

Technical User
Dec 28, 2005
143
US

Hello, I am trying to put an option box on one of my forms, but I am having a very difficult time uploading the data to my db.

Code:
<select name="rank1"><option>
	<option value="Knobs"> Knobs <option value="Handles"> Handles <option value="Cases"> Cases <option value="Plastic_Knobs"> Plastic Knobs <option value="Ball_Knobs"> Ball Knobs 
	</select>

I am not sure how to go about building the input part
 
I don't think I explained my problem very well,

I have a dynamic table that builds different fields
and I would like to add a drop down that shows in each field

My the view of my table would be

Instruments here is where I would like to put the box Knobs
Handles
Cases

Applications

Usage



so for example if I select knobs from the drop down it will insert knobs in that particular record number
 
sorry I think I have made things very confusing

I guess what I need it to insert data from multiple selection drop down

customer 1 selects Instruments, applicstions and Usage are radio buttons. What I need is to put a drop down box next to these radio buttons and enter the selected data in the drop down box into my data base
so in the Data base I would see
User Selection Sub-Selection
Bob Instrument Knobs
 
Wouldn't that just be the value of Request.Form("yourDropDownName") ?
Sorry, think I may be a bit lost also.

Could you paste some of the HTML output for your form page or the chunk of ASp that generats this portion of the form? Maybe it will help to see it.

 
So you have radio buttons and dropdowns, the contents of the dropdown are determined by which radio button is clicked?
 
sorry for the late response. This past weekend I devowered the whole script and after 100 cafinated drinks and couple of sleepless nights I got the script to work and it was much easier than I thought. I really appreciate all for the help. Now I am off to the Javascript forum.

Thank you guys and gils
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top