I have a bit of a problem... and I'm hoping there is an easy way to solve
it.

I have a dropdown that is populated like this:

<select name="trainers">
<cfoutput query="trainers"><option>#users.fname# #users.lname#,
#users.city#</option></cfoutput>
</select>

So it provides a list of trainers, by name including the city they train in.
What I want to do is let my visitor choose from this list, but when it
passes the value, I'd like it to pass another variable #users.trainerid#...
instead of any of those other fields (fname, lname, city0.

How would I do this?

--
Jillian

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to