Peter, take a look at the cfhttp tag docs. i think you should be able to repost the form data after validation in this way.
cfhttp - Performs GET and POST to upload file or post form, cookie, query, or CGI variable directly to server ciao, Nando -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter Hardy Sent: Friday, September 09, 2005 12:19 PM To: [email protected] Subject: [CFCDev] OT: Validating and then submitted form Hi guys, This one is OT but am a bit stumped. I have two pages, Customer page and Booking page. The Customer page (regular page on our site) submits a series of form fields to the Booking page (secure page on an external site). It all works fine. The problem is with validation. You see, if I self-post the Customer page in order to validate it and if validation is successful, I only have the <cflocation> tag to move to the Booking page. This doesn't help as the Booking page only accepts form fields. Have tried getPageContact.forward() instead but that only transfers to pages on the local server. So I'm left with validated Customer data and no way to post it to the external Booking page. I'm stumped ? Can anyone enlighten me? Peter ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
