Can Scripty Lightbox save form data

Scripty Lightbox links to another page on same site. This page contains an iframe showing a form on an external site. Works perfectly. When filling in the form and closing the lightbox, then reopening the lightbox the form data is reset. Is there a way to retain the data?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No. If you close the overlay, the iframe that holds that remote page disappears from the browser’s memory and when you re-load it, you get a new instance of that page with a new set of defaults. The only way you could make this work is if the form handler was on your server, you loaded a partial page into the overlay, and you used a cookie or session to maintain the “state”. Your form handler would be responsible for reading the cookie, figuring out “whose” form defaults to set, and defaulting the form to those variables. It’s not easy, it is possible, but the Action has nothing at all to do with it.

Walter

On Jan 7, 2012, at 9:32 PM, cosjr wrote:

Scripty Lightbox links to another page on same site. This page contains an iframe showing a form on an external site. Works perfectly. When filling in the form and closing the lightbox, then reopening the lightbox the form data is reset. Is there a way to retain the data?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter. Makes sense.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options