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?

Recommended Answers

All 3 Replies

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.

I like it very much thanks for share

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.