Results 1 to 3 of 3

Thread: Autosave script

  1. #1
    Join Date
    Mar 2015
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Autosave script

    Hello! I first want to say what an amazing resource Dynamic Drive has been over the years. It's like that really cool little hardware store in your neighborhood that has that rare and hard to find part you need, but can't fins anywhere else! I love the stuff you guys/girls do...really useful. Okay, I have never posted before, so please bear with me. I was looking for a form autosave script, and (as always) I found one here: http://www.dynamicdrive.com/dynamici...tosaveform.htm

    The problem is, I am using a php based form builder that I purchased from Code Canyon. I can't use your HTML-based autosave script for this, but I am looking for the EXACT same functionality. How might I allow users to save form data before clicking submit. I only want the ability for them to be able to hit "browser back" or "refresh" without losing all the data they already entered. Maybe a way of clicking to save current URL, or somehow saving a session cookie? I am a complete newbie...i can't code, but I can edit/implement almost anything...i have built dozens of sites using multiple scripts and apps...and even created some hybrids from these resources...so i am not a complete green designer...just can't code from scratch. Please help, or point me in the right direction.

    I don't ahve much to offer except a thank you and a promise to someday return the favor.

    D

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Why wouldn't you be able to use the DD script that you linked to?

    From the demo page;
    The script only requires that your form carries an ID attribute for the FORM element itself, and either ID or NAME attributes for the fields that you wish to be auto saved
    These are pretty standard form attributes and your form probably has a good chunk of them already.

    Do you not have the ability to edit the HTML or link to a JavaScript file?

    If you are limited in using this script then its likely that you'll be limited in using other scripts.

    For more help, please provide more information and a link to your page.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Mar 2015
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Beverleyh View Post
    Why wouldn't you be able to use the DD script that you linked to?

    From the demo page;
    These are pretty standard form attributes and your form probably has a good chunk of them already.

    Do you not have the ability to edit the HTML or link to a JavaScript file?

    If you are limited in using this script then its likely that you'll be limited in using other scripts.

    For more help, please provide more information and a link to your page.
    Well, that's a good question. here is a link to my form: http://glnradio.com/forms/h264/regis...bed=true&id=41

    I contacted the creator, and he said (in regards to his script and the script here on DD)

    "If you look in the "edit.php" file, line 114, that's an example of how to pass script initialization to the header and footer templates. Copy that function into the bottom of register.php and instead of "echo "forms.init()" you can do "echo "yoursaveformscriptinit()"".

    This is harder to understand than speaking Arabic...and I don't know Arabic...I'm assuming lol...anyway, I looked through the files...it is a PHP form with a database, I can't find any fields to implement the tags...there are just PHP script-lets everywhere...lol, I have created forms and such in HTMl witha little PHP, but this is more advanced...I am sorry I didn't know what to include. Thank you so much for helping me!

    D

Similar Threads

  1. jQuery Autosave plugin... can't get it to work
    By acctman in forum JavaScript
    Replies: 0
    Last Post: 10-11-2010, 02:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •