+ 2

How can I save HTML forms with javascript

When I collect the data from the html form i want to save it so if the user want to enter again he just have to enter his password

6th May 2020, 2:59 PM
Ahmed Anas
Ahmed Anas - avatar
5 Respuestas
6th May 2020, 3:04 PM
Tony
Tony - avatar
+ 1
Ahmed Anas The easiest way to achieve that is to use the Firebase database. After collecting the information from the form, just save it to the database. And later just use the username to get a specific user's information :)) If you don't know how to use Firebase, just google it :))
6th May 2020, 3:05 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 1
If when you say save you think to data base forget it now , javascript can't add datas in a data base but in js there are local storage and indexedDB who permit to save information in the user's PC That is the MDN Documentation https://developer.mozilla.org/fr/docs/Web/API/API_IndexedDB
6th May 2020, 3:05 PM
HEUBA BATOMEN Franck Duval
HEUBA BATOMEN Franck Duval - avatar
+ 1
Save all form's datas with cookies That's weird
6th May 2020, 3:07 PM
HEUBA BATOMEN Franck Duval
HEUBA BATOMEN Franck Duval - avatar
- 1
Use cookies.
6th May 2020, 3:06 PM
Dasarath Singh