Form data - drop down values/display option

T

Tom Petersen

I have a drop down box where the choices are populated from a database
query, this part works fine:
<option value><% = strEmail %></option>

I was wondering if it is possible to keep the value as strEmail, but make
the display Last_name, First_name. So when a user looks at the list, they
will just see the names, but when the form is submitted, the actual email
address associated with the name is passed along.

Long story short, there is probably a better way to do what I am trying to
do, but I was hoping for a nice simple solution to this problem! :)

TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top