This would be fairly easy to do -- create a hidden frame and set an onBlur
or onChange event to change the location of the hidden frame to a .cfm page
that processes the request.

e.g

<input type="text" name="sumpin"
onChange="document.hiddenFrame.location='processpage.cfm?action=savesomethin
g&field=sumpin&val=' + document.formname.sumpin.value">

<iframe name="hiddenFrame" width="0" height="0">

Then have the processpage.cfm do what you need it to do

Tim P.

-----Original Message-----
From: Paul Campano [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 9:30 PM
To: CF-Talk
Subject: Save form data before submit


Is there a way I can save the data from a form field BEFORE the submit
button is pressed?  I thought I saw something awhile back that used
javascript to
save each line to a db onBlur  ?  Has anyone done this or have an idea on
how it can be done?  Thanks.

Paul Campano




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to