Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7020689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:21:03+00:00 2026-05-27T23:21:03+00:00

I am trying to use local storage to be able to save/load multiple sets

  • 0

I am trying to use local storage to be able to save/load multiple sets of form inputs in a web app. I have found a couple references but I’m not sure how to apply them to my needs. Also, most examples I’ve found here concern storing a single set of settings which then are loaded the next time the page/app is loaded:

http://www.graphicpush.com/using-localstorage-api-as-a-light-database
http://www.paperkilledrock.com/2010/05/html5-localstorage-part-three/

The first link (graphicpush) is what I have tried to use to store multiple form input values but I’m not even sure if the values are being placed in the database. And once they are actually placed in the database, I’m not sure how to selectively recall a unique ID from the database and display it in the form.

The second link, I’ve looked at and is very close to what I need as well and I’m having the same problems as previously described.

My web app is located at http://www.sovascreen.com/estimator and you can view the attempt at localstorage in the “save.js” file. I know I’m very far off so please be kind.

I feel like this should be fairly simple but I don’t have a firm grasp on what I should be doing so any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:21:04+00:00Added an answer on May 27, 2026 at 11:21 pm

    Local storage is remarkably simple. A primer:

    // set
    localStorage.setItem('blah', 'blahblah')
    
    // check if it is set
    localStorage.getItem('blah')
    
    // check how many items are stored
    localStorage.length
    
    // another way to get the item 
    localStorage.key(0);
    
    // remove the item
    localStorage.removeItem('blah')
    

    Here’s a Fiddle with a tiny library I wrote for you to interact with. It allows objects or strings to be added to localstore via JSON.parse and stringify.

    Hit ‘run’ a few times and the output should look like:

    blah is not set. setting to blahblah
    ["blah"]
    blah is set to blahblah
    []
    blah is not set. setting to blahblah
    ["blah"]
    blah is set to blahblah
    []
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use a local c# app to pull some images off a
I'm trying to debug an ASP.NET webapp that's configured to Use Local IIS Web
I am trying use a Java Uploader in a ROR app (for its ease
I am trying to use OpenFlow ( http://apparentlogic.com/openflow/ ) in an iPhone App to
I am trying to use a thread local variable in inline assembly, but when
I'm working on an app that would display a remote html and use local
I have been trying to use localstorage to store Jquery-min but I am unable
I'm trying to use django, and mongoengine to provide the storage backend only with
I am trying to use ZODB 3.10.2 on my web server which is running
I'm trying to use Yahoo Local Search in a Kynetx Application. ruleset avogadro {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.