This is a pretty big form. I wonder if that wouldn't take up a bit too much overhead? Thoughts?
> -----Original Message----- > From: David Schmidt [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 13, 2002 10:22 AM > To: CF-Talk > Subject: Re: Creating Session Var w/Javascript? > > > There is a method that I have used for just this, although it > does not involve session variables. Upon submitting the > page, loop through the form's fields using javascript. > Create a string by concactenating (sp.) all of the form's > default values. Then create another string using the forms > values. Compare the two strings. It is a bit wierd, but it works. > > David Schmidt > > > > ----- Original Message ----- > From: "Lee Fuller" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Sunday, January 13, 2002 9:57 AM > Subject: Creating Session Var w/Javascript? > > > > I believe we've covered this, but couldn't seem to find the > answer in > > the archives... > > > > Is there a way, via javascript, to set a session var's value? > > Specifically, I would like to have "session.formchanged" > set to "yes", > > if a change is made to any form field on a form. Then, when they > > attempt to leave the page, it will know to submit the changes. > > > > Suggestions? > > > > TTAIA! > > > > > ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists