944,074 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 10419
  • ASP RSS
Mar 4th, 2005
0

combo box

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
faisyshah is offline Offline
27 posts
since Dec 2004
Mar 6th, 2005
0

Re: combo box

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
Reputation Points: 10
Solved Threads: 7
Posting Whiz in Training
zippee is offline Offline
294 posts
since Jan 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: Windows 2000 server not allowing ASP access.
Next Thread in ASP Forum Timeline: Remove Pop Up





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC