Jump to content

Save form values temporarily to recall later


xander85

Recommended Posts

Hey all,

 

I tried Googling this quite a few times and couldn't come up with much. I have a php page using a mysql backend and I want to make it so my users

can save parts of their form submission without hitting submit, is this possible?

 

For example, there is a group of forms:

Firstname

Lastname

address

city

blah

blah blah

 

and the user could have an option to "Save" that form value and return to the site later to submit.

 

also, can you save a group of forms at with just one "save" function. example:

 

Group 1:

name1

city1

state1

zip1

 

Group 2:

name2

city2

state2

zip2

 

Save each group with just one save button or something?

 

the save button could be an onclick ajax function, then the ajax function would collect the data based on whats filled out

 

example,

 

var Firstname = document.getElementById('Firstname').value;

 

etc. then if they came back later, there you go :-P

Uhm, with an "okay" knowledge of JavaScript (a little DOM), and a great knowledge of PHP, i literally picked it up in like 10 minutes and done some pretty great stuff with it already >.>

 

Its just like a small extension to JavaScript.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.