Thanks for the suggestions. I think I'm getting somewhere here. The only problem
now is that when the popUp appears, the form variables aren't being passed.


Here's the code now: 

Form file
---------
// Pop-up

function popUp()
{
opts="menubar=no,status=no,toolbar=no,resizable=no,width=350,
height=200,titlebar=no";newWindow = 
window.open('index.cfm?fuseaction=formAction','bizcard',opts);newWindow.focus();

}

<form method="post" target="bizCard" action="index.cfm?fuseaction=formAction">

<input name="firstname" type=text size="20"> 
<input name="lastname" type=text size="20">
<input type="submit" value="find" onClick="popUp()"> 
</form>
----------------
FormAction file:

<cfquery name="employee" datasource="empdir">
  Select * from employees
  Where firstname = '#firstname#'
  and lastname = '#lastname#'
</cfquery>

</cfoutput>
<cfoutput query="employee">
    #firstname# #lastname#
</cfoutput>
----------------------------------

Any help?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to