HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Transfer Draft Work to Client
Actually, I misread your post. The code I linked does not use the local storage feature of HTML5. I just save any form data to the form markup as the default value before I save the form to cache. Reading up on local storage, that sounds dead easy to use (detect if the browser has it and use localStorage.getItem() and… -
Re: Transfer Draft Work to Client
I implemented something like that in the Yaga Badge administration screen. I save the input data to the form whenever a rules change is requested. You can checkout the relevant JS here (it isn't pretty): https://github.com/hgtonight/Application-Yaga/blob/master/js/admin.badges.js#L24 It was a lot easier than I was… -
Transfer Draft Work to Client
I was looking for something completely different from what is described in this article but when I saw it, I immediately had to think of Vanillas drafts. The article introduces a javascript library that saves form input into local storage. That way, it could be restored later if a page accidentally closes. As far as I've…
3 results