Question : website

we are adding a contact page to our website that will permit the visitor to enter their contact info and click submit and the info will be emailed to us. well we have 4 locations and we were going to make a contact page for each location on the site, but i thought that we could have a list box with the store locations there and the visitor will select the location from the list box and then enter their contact info and once they click submit the email will go to the correct email for the location base on what location they select from the list box. I have no idea on how to implement this can some one give me advice. I think and IF statement will be what I need but I don't know how this would work with HTML or javascript or whatever language needs to be used. I know VB but I never used it with websites. any help will be appreciated.

Answer : website

two email options ... two select location options ...

select location option using radio buttons...
  <input type=radio name=storeemail value="[email protected]"/>
  <input type=radio name=storeemail value="[email protected]"/>
  <input type=radio name=storeemail value="[email protected]"/>
  <input type=radio name=storeemail value="[email protected]"/>
select location using select
  <select name=storeemail/>
  <option value="[email protected]"/>
  <option value="[email protected]"/>
  <option value="[email protected]"/>
  <option value="[email protected]"/>
</select>

 
Random Solutions  
 
programming4us programming4us