munna
09-12-2003, 08:25 AM
Hi,
I have got a form with a set of options like this:
<select name="Target">
<option value="a@somewhere.com"> A.Name</option>
<option value="b@somewhere.com"> B.Name</option>
<option value="c@somewhere.com"> C.Name</option>
<option value="d@somewhere.com"> D.Name</option>
</select>
I'm using this at the moment to get the vlaue:
Email = Request.form("Target")
However, I would like to have another variable ("Name") which could store the actual name, rather than the e-mail address. So, while "Email" could store "a@somewhere.com", "Name" would store "A.Name".
Please could someone tell me how to do this?
--Munna
I have got a form with a set of options like this:
<select name="Target">
<option value="a@somewhere.com"> A.Name</option>
<option value="b@somewhere.com"> B.Name</option>
<option value="c@somewhere.com"> C.Name</option>
<option value="d@somewhere.com"> D.Name</option>
</select>
I'm using this at the moment to get the vlaue:
Email = Request.form("Target")
However, I would like to have another variable ("Name") which could store the actual name, rather than the e-mail address. So, while "Email" could store "a@somewhere.com", "Name" would store "A.Name".
Please could someone tell me how to do this?
--Munna