The only way I know of doing what you've indicated below is to use a JavaScript.
You can reference the "parent" or "opener" window by using the "opener" keyword: opener.document.parentForm.pf1.value = document.childForm.cf1.value; A good example of how to do this from a JavaScript can be seen here: http://www.rgagnon.com/jsdetails/js-0066.html -------------- Original message ---------------------- From: "Andy Chen" <[EMAIL PROTECTED]> > Here's a situation: > > Basically there is a form (CFFORM) which there are various fields. One of the > field would be a basic CFINPUT text field where an image ID can be entered. > The > user will be able to click on a button to preview available images > (CFWINDOW). > Whatever image they select in the Window (via radio button or drop down), it > will populate the main form with the value. > > I can't figure out how to pass a variable from the Window back to the parent > form. To use some of the UI features, the Window will need to have a CFFORM > also. I tried binding but it would only work if it is in the same form (or > section). Most commands support FORMNAME.FORMFIELD naming to apply a function > but is there a WINDOW.FORMNAME.FORMFIELD naming scheme? > > I tried looking at the CF 8 Developer Guide and CF 8 CFML Refence guide for > pointers but I can't seem to find out what to use. It seem pretty straight > forward so I figure I must be missing something obvious... please help. > > Thanks, > Andy > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285715 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

