cheers Paul...
Finally - i am a little unclear of whether this pop-up can be .cfm file -
the original reply from Matt said to submit to this pop up as a .html file -
but i need to be able to process the CF variables etc??
_______________________________________________________
* 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: Paul Johnston [mailto:[EMAIL PROTECTED]
Sent: 02 October 2003 10:47
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Form Submit ==> JS new window
Onsubmit is an attribute of the <form> tag.
Onclick is an attribute of the <input> tag.
If you do <form onsubmit="return checkForm(this)"> and return false from the
function, you can stop a form being submitted. Always useful when doing
client side checking. Returning true will alow the form to be submitted.
Paul
> -----Original Message-----
> From: Lovelock, Richard J [mailto:[EMAIL PROTECTED]
> Sent: 02 October 2003 10:39
> To: '[EMAIL PROTECTED]'
> Subject: RE: [ cf-dev ] Form Submit ==> JS new window
>
>
> is this onSubmit an attribute of the <form> tag or the <input
> type "button"> tag?
>
> _______________________________________________________
> * 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: 02 October 2003 10:37
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Form Submit ==> JS new window
>
>
>
> oh yeah, although you missed out the onSubmit="submitForm"
> part in the form tag then!
>
>
> Duncan Cumming
> IT Manager
>
> http://www.alienationdesign.co.uk
> mailto:[EMAIL PROTECTED]
> Tel: 0141 575 9700
> Fax: 0141 575 9600
>
> Creative solutions in a technical world
>
> ----------------------------------------------------------------------
> Get your domain names online from: http://www.alienationdomains.co.uk
> Reseller options available!
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
>
>
>
>
> "Douglas Humphris"
>
> <[EMAIL PROTECTED] To:
> <[EMAIL PROTECTED]>
> itech.net> cc:
>
> Subject:
> RE: [ cf-dev ]
> Form Submit ==> JS new window
> 02/10/2003 10:32
>
> Please respond to
>
> dev
>
>
>
>
>
>
>
>
> Well, I was trying to show that you can set the target in js,
> though putting it in as an attribute as well doesn't hurt.
>
> Thanks,
> Doug
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: 02 October 2003 10:30
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Form Submit ==> JS new window
>
>
> i think you missed something out on the 2nd example:
>
> <form name="frmMyForm" action="myPage.cfm" method="post"
> target ="popupWindow"> ... </form>
>
>
> Duncan Cumming
> IT Manager
>
> http://www.alienationdesign.co.uk
> mailto:[EMAIL PROTECTED]
> Tel: 0141 575 9700
> Fax: 0141 575 9600
>
> Creative solutions in a technical world
>
> ----------------------------------------------------------------------
> Get your domain names online from: http://www.alienationdomains.co.uk
> Reseller options available!
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
>
>
>
>
> "Douglas Humphris"
>
> <[EMAIL PROTECTED] To:
> <[EMAIL PROTECTED]>
> itech.net> cc:
>
> Subject: RE: [
> cf-dev ] Form Submit ==> JS new window
> 02/10/2003 10:24
>
> Please respond to
>
> dev
>
>
>
>
>
>
>
>
> 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]
>
>
>
>
>
>
> --
> ** 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]
--
** 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]