In your form tag, specify the target attribute.  When the user hits 
submit, it will open a new browser window.

----- Original Message -----
From: "Dunwiddie, Bruce" <[EMAIL PROTECTED]>
Date: Tuesday, December 11, 2001 12:34 pm
Subject: RE: Form Submittal

> can't do it without a page refresh somewhere. you could put the 
> actual form
> in a frame and just have that part submit to itself, does the 
> action, and
> onload calls a window.open to some page that then displays the 
> results.we're doing something very similar on an image generation 
> and preview.
> orrrrrrrrrr, you could attempt to have some rather complex java 
> script that
> onclick of the submit button, pops open a new window and in the 
> url for that
> new window, send the values of each form element as url parameters 
> and have
> the action of the update at the top of the page that's being 
> popped open. 
> 
> -----Original Message-----
> From: Marcus [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 11, 2001 12:39 PM
> To: CF-Talk
> Subject: RE: Form Submittal
> 
> 
> > if you name the submit buttons, then form.submitbutton1 and
> > form.submitbutton2 exist on the recieving end depending on which 
> one was
> > pressed, or if you're using type="image" for the submit buttons,
> > form.submitbutton1.x and form.submitbutton2.x exist on the 
> recieving to do
> > your switch for the action.
> 
> Problem is, that does a standard submit. I need the ability to 
> press submit,
> and then a new window opens up with results that are different 
> based on the
> possible changes he has made on the original form. If he doesn't 
> like the
> results, he can close the second window, and change any field on the
> original form, and view his changes. Over and over until he is 
> happy with
> the results.
> 
> Marcus
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to