Start New Discussion within our Web Development Community

Im creating a form in Coldfusion I need to add an Autosave function. I will like the form to autosave every 30 seconds. Any Ideas?

It's actually an HTML form. :-)

You will need to use JavaScript and Ajax (jQuery make things easier).
Your JavaScript will be called by your main file (the one with the form) and will simply run Ajax code to post all your form variables to a form handler.
The form handler will update your database and return a success flag which you can use to display a autosaved message.

This article has been dead for over six months. Start a new discussion instead.