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 7637727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:00:43+00:00 2026-05-31T08:00:43+00:00

I have a form that the user can add rows to. When that form

  • 0

I have a form that the user can add rows to. When that form is submitted I need to store those values in cookies so I can reload the form when the page refreshes or the user leaves the site and returns. I’ve already got the form being built from javascript and am looking for some sort of js or php tool that will automatically store and reload forms, including dya=namic generation of forms.

Thanks!

  • 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-31T08:00:44+00:00Added an answer on May 31, 2026 at 8:00 am

    Seems like you should be able to use jquery’s built in form serializer, and then save that in a cookie.

    //here's a little helper function to set a cookie
    
    function setCookie(key, value, daysUntilExpiration) {
        var expiration = new Date();
        expiration.setTime(expiration.getTime()+(daysUntilExpiration*86400000));
    
        document.cookie = key + "=" + value + ";expires=" + expiration.toGMTString() + ";path=/";
    }
    
    //first, get the serialized data from your dynamic form
    var formData = $("#myform").serialize();
    
    //then, save it into a cookie
    setCookie("myform", formData, 30); //cookie saved for 30 days
    

    To pull it back out, you should be able to simply split on the key/value with the “=” as the split character, then loop through each one, and build out the form HTML.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an HTML form that a user can add an arbitrary amount of
i have a form that has a multiple select drop down. a user can
I have a view user control that can post form. This control can be
I have a table where the user can add rows to it but each
I have a form with a textbox and a add button. The user can
I have a form into which the user can add more fields to fill
I have a form where the user can dynamically add fields (clone and increasing
I have a form that allows the user to add information an their leisure.
I have a query that retrieves 1000 records and user can add a new
So I have a form that accepts some input from a user that may

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.