On Wed, 29 Sep 2004 15:46:06 -0400, dave <[EMAIL PROTECTED]> wrote:
> actually the original problem u were having was your form resubmitting itself which is awhole nother deal

No it wasn't. Daniel's original problem was that he was doing a
<cflocation> and losing the contents of his form fields (which is
actually expected behavior).

> now u will have to set the form fields to sessions on the processing page

No he probably won't. The processing page (which could be the
self-post or a separate page) will receive the form fields just fine
and process them, then he'll <cflocation> to a thank you page.

If that data is needed on the thank you page, he could either:
a) pass whatever is needed in the query string of the <cflocation>
b) pass the data id in the <cflocation> and retrieve it from the database
c) store it in session scope

> then on the form page do if statements on each field to either have the field blank or filled in with the correct info from the sessions and u gunna have to set params up at the top

Using <cfparam> at the top of the page is sufficient. You don't want
conditional logic around your form fields.
--
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to