The question here is are you submitting the form the where the hidden tags are? If not, you cannot just reference the select tag's data without using a scripting language like JavaScript for HTML forms or ActionScript for flash forms.
Teddy On 10/11/06, Roberto Perez <[EMAIL PROTECTED]> wrote: > > 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:256357 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

