title: Saving form state after a page refresh
body: <p>I have a list of checkboxes.</p>
  
  <p>If the page is refreshed before the user submits the form, I want the state of the checkboxes (checked or not checked) to be preserved.</p>
  
  <p>Ie: user selects option 1, option 4 and option 5. The page refreshes and option 1, option 4 and option 5 remain checked.</p>
  
  <p>I have looked into serialising then storing a cookie but I just cant wrap my head around it.</p>
  
  <p>Any help would be appreciated.</p>