It can be done either way. As an attribute, or in JS: <script language="javascript"> function submitForm() { window.open("blank.html","myNewWindow","..."); document.frmMyForm.target = "myNewWindow"; document.frmMyForm.submit(); } </script>
... <form name="frmMyForm" action="myPage.cfm" method="post"> ... </form> -----Original Message----- From: Lovelock, Richard J [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 10:21 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] Form Submit ==> JS new window is that done as a parameter in the <cfform> tag or does it need to be a JS command? _______________________________________________________ * Regards, Richard Lovelock Westminster City Council - Web Support Cap Gemini Ernst & Young Southbank 95 Wandsworth Road London SW8 2HG ( 0870 906 7482 _______________________________________________________ -----Original Message----- From: Douglas Humphris [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 10:18 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Form Submit ==> JS new window Specify the target that the form submits to - point to the pop-up-window. D -----Original Message----- From: Lovelock, Richard J [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 10:13 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] Form Submit ==> JS new window hmm... how do i specify that i want to submit to the open pop-up window? _______________________________________________________ * Regards, Richard Lovelock Westminster City Council - Web Support Cap Gemini Ernst & Young Southbank 95 Wandsworth Road London SW8 2HG ( 0870 906 7482 _______________________________________________________ -----Original Message----- From: Matt Horn [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 09:30 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Form Submit ==> JS new window you would have to popup the window with a blank html page and then submit to the popupwindow the key is to pop the window up first ----- Original Message ----- From: "Lovelock, Richard J" <[EMAIL PROTECTED]> To: "'cflist'" <[EMAIL PROTECTED]> Sent: Thursday, October 02, 2003 10:27 AM Subject: [ cf-dev ] Form Submit ==> JS new window > Hi.. > > does anyone know if it is possible and if so how...to submit a form but have > the action page be a new window popping up using JS with all the toolbar, > scrollbar, size attributes changeable? > > I guess it would be something to do with an OnSubmit command? The popup > window page needs to be a 'proper CFM page' - i.e. capable of accepting URL > parameters etc. > > Not sure if the above is possible but and resources/code/refs would be > greatly appreciated. > > Thanks > > _______________________________________________________<?xml:namespace > prefix = o ns = "urn:schemas-microsoft-com:office:office" /> > > * Regards, > Richard Lovelock > > Westminster City Council - Web Support > Cap Gemini Ernst & Young > Southbank > 95 Wandsworth Road > London > SW8 2HG > > ( 0870 906 7482 > > _______________________________________________________ > > > > > ************************************************************************ **** **************** > " This message contains information that may be privileged or confidential and > is the property of the Cap Gemini Ernst & Young Group. It is intended only for > the person to whom it is addressed. If you are not the intended recipient, you > are not authorized to read, print, retain, copy, disseminate, distribute, or use > this message or any part thereof. If you receive this message in error, please > notify the sender immediately and delete all copies of this message ". > ************************************************************************ **** **************** > > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]