Hi all,

I have a <select> field showing the output of a CFQUERY. I want to 
set up a hidden field to reflect what was selected in the first 
field. So if the <select> field looks like this:

<select name="reqUserID" id="reqUserID">
<cfoutput query="listUsers_qry"> <option 
value="#listUsers_qry.userID#">#listUsers_qry.userLastName#)</option>
</cfoutput>
</select>


....I'd like a hidden field to reflect what was selected. I'm using 
the options below unsuccessfully:

<input type="hidden" name="revUserID" value="#reqUserID#">
<input type="hidden" name="revUserID" value="#form.reqUserID#">

What would then be the syntax to transfer/reflect the value of 
"reqUserId" into "revUserID"?

Thanks in advance,

Roberto Perez


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256341
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to