How to correctly save a form with data to the database and restore it from there?

  • 0
    There is a form on the page that the user can change (add checkboxes, inputs, etc.).
    It is necessary to somehow save this form along with the data that the user entered into the database and then restore it from saving at the user's request.
    JavaScript Anonymous, Jul 6, 2020

  • 2 Answers
  • 0
    If the form is only needed by a specific user, you can save it on the client side and then restore it. Something like the option (you need to finish):

    Alexandra Marshall

  • 0
    Save the form data in JSON format. This is the easiest and most convenient way to store data.

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!