Roberto, Isn't it possible for you to just use <cfset revUserID = form.reqUserId> on the page the processes the form (you post page) once its submitted? You can eliminate the need for a hidden field altogether.
> -----Original Message----- > From: Roberto Perez [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 11, 2006 8:57 AM > To: CF-Talk > Subject: Form: transfer from SELECT to HIDDEN > > 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:256355 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

