if this hasn't been asked already...why do you need to set the hidden field to the value of the select field? if you have the value of the <select> available to you on the action page...won't that be the same as the hidden field's value on the action page?
(sorry if that's not asked in a clear manner...i'm a little high right now...i work in an 8x8 office (roughly) and i just used waaaaaaaaaaaaaaay too much white board cleaner on my white board) :D On 10/11/06, Snake <[EMAIL PROTECTED]> wrote: > <select name="reqUserID" id="reqUserID" > onchange="document.formname.revUserID.value = this.value"> > > Replacing formname with the name of your form. > - > Snake > > -----Original Message----- > From: Roberto Perez [mailto:[EMAIL PROTECTED] > Sent: 11 October 2006 16:57 > 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:256390 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

