Here's a good thread offering a couple of different solutions. http://www.siteexperts.com/forums/viewConverse.asp?d_id=9336
- j -----Original Message----- From: Bruce, Rodney S HQISEC/SIGNAL [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 4:23 PM To: CF-Talk Subject: RE: ot:submit form to itself function Uploadpic(){ showModalDialog("pictureupload.cfm",window,"help: no; unadorned:yes; height:400; width: 350; screenX:10; screenY:10"); } -----Original Message----- From: Jim Curran [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 1:21 PM To: CF-Talk Subject: RE: ot:submit form to itself can we see the javascript for showModalDialog()? - j -----Original Message----- From: Bruce, Rodney S HQISEC/SIGNAL [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 4:04 PM To: CF-Talk Subject: RE: ot:submit form to itself I changed the <FORM> to: <form action="#cgi.path_info#" target="_top" method="post" enctype="multipart/form-data" name="uploadfile" id="uploadfile"> and when submitted, it still opens another window. I initially open the popup like this in a JS function: showModalDialog(pictureupload.cfm) -----Original Message----- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 12:56 PM To: CF-Talk Subject: Re: ot:submit form to itself > Hello all > Need some help with a popup window and form submit. > I have a form in a popup window and would like to submit back to itself. > I can do this, but when I do a new full size window is opened. > How can I submit a form back to itself and keep it in the popup window. What are the action and target attributes of the form tag currently? You might try using action="#cgi.path_info#" and target="_top" just to make sure the form's not getting a bad base target from the page. Isaac Dealey Certified Advanced ColdFusion Developer www.turnkey.to 954-776-0046 ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

