Returnable Forms

Posted on 2012-09-16
Last Modified: 2012-10-02
I need to rebuild some forms so that my customers can return to the form and pick up where they left off.  Right now if the customer leaves the page when they come back the looses their data when page is reloaded with a blank form.  

I'm working with php/mySQL

I expect that I need to save the data as the form is filled out,  and then use a cookie to store the record number. Then check for the cookie and if found reload the data on page load.   Having  never done this before I was hoping someone could point me to some how-to articles.

Thanks in advance
Question by:jws2bay
    LVL 8

    Accepted Solution

    LVL 16

    Assisted Solution

    If they simply place data into the form fields without pressing the submit then the data will not be saved either way. If you have a long form, break it up into multiple pages and use sessions to store the data.As long as they do not close the browser, the variables will remain in the session.

    Author Comment

    I have long forms and at the end of the form I save the data as the customer does a final calculation of the shipping.  If the customer tries to return to the form (back) a new blank form is loaded.  All data has been lost.

    I'm thinking I need to build a form which is saved as the user moves through the form.  I have never used cookies, but it seems like I could do something with cookies to make a form where the customer could return to tweak the data.

     Right now I open the form in it's own window, and have the form menu set up so if the customer leaves the form to search the site that is opened in its own window.

    I have customers complaining about having to re-enter all their data several times before they order.  I looking for a good way to build forms where they can return later and have their data still in the form.  

    I could have them log-in & out and reload their data on the log-in.  I was assuming that somebody might have a tried and true approach to the problem.

    Author Closing Comment

    I was hoping for a more verbose answer.  I feel like there must be a few good and lots of bad ways to approach this problem. - I do appreciate the response I did get.  Thanks again.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Read about why website design really matters in today's demanding market.
    I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
    The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now