Have Two Buttons:

<INPUT TYPE="SUBMIT" NAME="FinalAction" VALUE="Preview">
<INPUT TYPE="SUBMIT" NAME="FinalAction" VALUE="Finish">


Then On ACTION Page:

<CFIF FinalAction EQ "Preview">
    Show The Preview Here
<CFELSE>
    Process It Here
</CFIF>


Pablo Varando
CFM-Resources.Com, Corp.
http://www.cfm-resources.com


----- Original Message -----
From: "W Luke" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, April 29, 2001 1:07 PM
Subject: One form, two submit buttons...


> Hi,
>
> I have a form that is posted to a processing page.  I want to add another
> button that submits the form information to another page, if the user
> wishes, which will preview what it will look like.
>
> How can I do this?
>
> Cheers.
>
> --
> Will
> Free Classifieds -=- www.localbounty.com
> e: [EMAIL PROTECTED]  icq: 31099745
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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