Hmmm... That's interesting. I've used step one occasionally but not the entire sequence. Worth a shot; thanks!
Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Behalf Of Nate Rightmire > Sent: Tuesday, March 02, 2004 8:22 AM > To: [EMAIL PROTECTED] > Subject: RE: [KCFusion] Web form data missing on return > > > One thing that I have done to avoid this problem without resorting to > session variables is this: > > 1. CFPARAM all of your form variables on your originating page, > defaulting them to zeros or blanks/nulls. > 2. In your originating form, seed the VALUE attributes with your > CFPARAMed variables. > 3. On the receiving page, CFPARAM your variables, defaulting > them to the form variables that were submitted. > 4. Dump the received form variables into a hidden form. > 5. Do any error checking/variable scrubbing. > 6. If you find any problems, submit your hidden form back to the > originating page. > > This will pass all of the submitted variables back to the > original form > for ready (re)use. It also provides a convenient way to pass a > customized error message back to the form, as well as a potential > "onLoad" variable to pre-select the field that is causing problems. > > When the original page loads, check for a passed error message and if > it's there, display it. > > Nate Rightmire, Web Developer > Shorr Packaging Corp. > 800 N. Commerce St., Aurora, IL 60504 > tel: 630.499.3090 > email: [EMAIL PROTECTED] > www.shorr.com > www.shorrexpress.com > > --- [This E-mail scanned for viruses by Declude Virus] ========================================================= Kansas City ColdFusion User Group's website & listserv is hosted through the generous support of Clickdoug.com To send email to the list, email [EMAIL PROTECTED] To (un)subscribe, email [EMAIL PROTECTED] with your request. For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1. ======================================================
