Well I need to do the popup. This is a site written in Java that I am converting to CF, and they want to retain the same functionality.
Bruce On 1/30/07, Scott Weikert <[EMAIL PROTECTED]> wrote: > > > That's not really a JS issue to start with. The only JS you really need > is a window.open() call (i.e. to fire up the pop-up) that you call after > checking your DB for the data and finding it doesn't exist. > > And even then - you don't even need to do JS or a popup. You could > simply display the "add this data" form in the main window if you find > it's not there, and then after the user submits, refresh back to that > same script - then your extra-data DB check will come back positive, and > instead of the "add this data" form you show the normal form as > described above. > > Something like > > (db check for extra data) > <cfif extra data isn't there> > (show extra data form) > <cfelse> > (show normal form with the extra data showing) > </cfif> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268126 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

