I don't have a working example. The explanation I gave was conceptual. It's possible, but not simple. As I said, it would be a significant modification. If you would like this, you could request it in a future update (if you aren't in a hurry), or you could post this in the paid work requests board (if you are in a hurry).
If you aren't good with Javascript yet, this would be difficult to do.
Listing multiple fields would be a little easier than looping, but it would be more work especially if the form might change sometimes-- is it always exactly 10 fields long (for example)?
As a place to start, you'd need to modify this function so that the code to save a single field here would instead save many fields. You could duplicate the lines and change the IDs, but it might be a little more complicated than that. And for the loading I imagine it would be more complicated because you actually need to set the values of all the fields that way.
Code:
function savenote(){ //private savenote function
$pad.find('.title').text(formfields.$subject.val())
largestorage["notepad_"+id]=formfields.$subject.val() + "|||" + formfields.$content.val() //save subject and content fields, separated by "|||"
}
For someone who is experienced with Javascript (probably more so than I am), this would not be especially difficult, though not "easy" either.
Bookmarks