xander85 Posted April 26, 2007 Share Posted April 26, 2007 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? Link to comment https://forums.phpfreaks.com/topic/48712-save-form-values-temporarily-to-recall-later/ Share on other sites More sharing options...
sw0o0sh Posted April 26, 2007 Share Posted April 26, 2007 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 Link to comment https://forums.phpfreaks.com/topic/48712-save-form-values-temporarily-to-recall-later/#findComment-238684 Share on other sites More sharing options...
xander85 Posted April 26, 2007 Author Share Posted April 26, 2007 I have no experience with ajax is this something hard to pick up on? Link to comment https://forums.phpfreaks.com/topic/48712-save-form-values-temporarily-to-recall-later/#findComment-238685 Share on other sites More sharing options...
sw0o0sh Posted April 26, 2007 Share Posted April 26, 2007 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. Link to comment https://forums.phpfreaks.com/topic/48712-save-form-values-temporarily-to-recall-later/#findComment-238688 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.