What about
<option value="bill::[EMAIL PROTECTED]">bill</option>

use the double colon as a delimiter then use Split(form element name, "::")


-----Original Message-----
From: Johnny Martinez [mailto:jmartinez@;tmi-la.com] 
Sent: Wednesday, November 06, 2002 5:59 PM
To: ActiveServerPages
Subject: Hidden in Option

Anyone have a tip on how to pass a hidden value along with the value in a
<select> <option>?

<select name="name">
<option value="joe">Joe</option>
  <input type="hidden" name="email" value="[EMAIL PROTECTED]">
<option value="fred">Fred</option>
  <input type="hidden" name="email" value="[EMAIL PROTECTED]">
<option value="bill">Bill</option>
  <input type="hidden" name="email" value="[EMAIL PROTECTED]">
</select>

This is interrupting the <select><option>.
I want to pass the "name" and "email" which I pulling from a database within
a loop.

Johnny

---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to