combo box

Reply

Join Date: Dec 2004
Posts: 27
Reputation: faisyshah is an unknown quantity at this point 
Solved Threads: 0
faisyshah faisyshah is offline Offline
Light Poster

combo box

 
0
  #1
Mar 4th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 294
Reputation: zippee is an unknown quantity at this point 
Solved Threads: 6
zippee's Avatar
zippee zippee is offline Offline
Posting Whiz in Training

Re: combo box

 
0
  #2
Mar 6th, 2005
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC