edit ray's example code and:

- change useridfk input field to type="text"
- remove the ownerspan span element
- remove document.getElementById('ownerspan').innerHTML = label; line 
from selectUser js function

Azadi

On 24/11/2010 10:26 , Rick Colman wrote:
> To answer my own question, I did find this link for using Ajax in CF8:
>
> http://www.coldfusionjedi.com/index.cfm/2008/12/25/Using-CF8-Ajax-features-to-solve-the-pick-one-of-thousands-issue
>
> however, I need to be able to EITHER select from a sub-window OR type in
> some data directly into the form field.
>
> On 11/23/2010 5:41 PM, Rick Colman wrote:
>> Here is what I am trying to do:
>>
>> a) open a form - several form fields will have an IMPORT button
>>
>> b) IMPORT button opens a sub-window (cfwindow) which runs a query and
>> displays the query results in a table
>>
>> c) select one of the rows in the sub-window with another button. Take
>> the data from the sub-window row and punch it into the correct form
>> field in the main window. close the sub-window
>>
>> d) maybe do this several times for different form fields.
>>
>> e) submit the main form
>>
>> WHEW!
>>
>> I have a) and b) working OK with CFWindow. c) d) and e) are a little
>> mysterious.
>>
>> Can someone point out a resource that might provide some insights?
>>
>> TNX.
>>
>> Rick
>>
>>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339493
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to