Aparajita Fishman wrote:
You would use JavaScript to exchange data between the cookie and form fields.
Aha! Are you aware of any web sites/tutorials that illustrate this technique.

There are plenty of Javascript libs out there that let you read/write cookies. Setting/getting a form field is basic stuff.
I'm looking at some of them now :)

Also thanks to Mehboob Alam for reminding me about JSON.

Basically I'm looking at this (pseudocode)

// To "Copy"
setPartsClipCookie(formVarsToJSON())


// To "Paste"
If (partsClipJSON = getPartsClipCookie()) {
   jsonToFormVars(partsClipJSON);
} else {
   alert ('Sorry, nothing to paste')
}

Thanks,

Brad
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to