| | |
combo box
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2004
Posts: 27
Reputation:
Solved Threads: 0
hello every body
my problem relate from combo box.
for example iam using three links in my home page
(1) contact us
(2) technical support
(3) sales
the fourth will be contact form .
when i click on contact us link the page jump on contact form
similarly when i click on technical support link , the page jump on contact form
similarly when i click on sales link , the page jump on contact form.
mean all three pages link from contact form page.
now contact form consist of a combo box following r the values included in combo box.
(1) choose (which will be by default value)
(2)technical support
(3) sales
now i want that when i click on contact link from my home page the page jump on contact form , in contact form the combo box value will be by default (which show choose)so that we can choose any value.
now my main problem is that (how its possible that, click on technical support link from my home page the page jump on contact form , in contact form the combo box value will be "technical support") now we dont need to choose value.
similarly (how its possible that, click on sales link from my home page the page jump on contact form , in contact form the combo box value will be "sales") now we dont need to choose value.
my problem relate from combo box.
for example iam using three links in my home page
(1) contact us
(2) technical support
(3) sales
the fourth will be contact form .
when i click on contact us link the page jump on contact form
similarly when i click on technical support link , the page jump on contact form
similarly when i click on sales link , the page jump on contact form.
mean all three pages link from contact form page.
now contact form consist of a combo box following r the values included in combo box.
(1) choose (which will be by default value)
(2)technical support
(3) sales
now i want that when i click on contact link from my home page the page jump on contact form , in contact form the combo box value will be by default (which show choose)so that we can choose any value.
now my main problem is that (how its possible that, click on technical support link from my home page the page jump on contact form , in contact form the combo box value will be "technical support") now we dont need to choose value.
similarly (how its possible that, click on sales link from my home page the page jump on contact form , in contact form the combo box value will be "sales") now we dont need to choose value.
Am I right your combo box is dropdown menu?
1. Modify the link. for example: form.asp?choice=default for contact us link, and form.asp?choice=technical for technical support link etc
2. In the contact form, modify the scipt of the dropdown menu:
<option value="" <% if Request("choice") = "default" then %>selected<% end if %>>Choose One</option>
<option value="technical support" <% if Request("choice") = "technical" then %>selected<% end if %>>Technical Support</option><option value="technical support" <% if Request("choice") = "sales" then %>selected<% end if %>>Sales</option>
Good luck
1. Modify the link. for example: form.asp?choice=default for contact us link, and form.asp?choice=technical for technical support link etc
2. In the contact form, modify the scipt of the dropdown menu:
<option value="" <% if Request("choice") = "default" then %>selected<% end if %>>Choose One</option>
<option value="technical support" <% if Request("choice") = "technical" then %>selected<% end if %>>Technical Support</option><option value="technical support" <% if Request("choice") = "sales" then %>selected<% end if %>>Sales</option>
Good luck
![]() |
Similar Threads
- combo box (PHP)
- Want to use radio button or menu bar instead of combo box (Java)
- How do I limit text char in Combo box? (VB.NET)
- combo box help (VB.NET)
Other Threads in the ASP Forum
- Previous Thread: ASP and Extensible Provisioning Protocol (EPP)
- Next Thread: Remove Pop Up
| Thread Tools | Search this Thread |
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection connection database databaseconnection dreamweaver excel fso iis msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption single specfic sqlserver sqlserverconnection windows7





