# Save checkbox checked or unchecked from previous page

**URL:** <https://www.ruby-forum.com/t/save-checkbox-checked-or-unchecked-from-previous-page/135430>\
**Category:** Rails\
**Created:** [April 22, 2008, 3:32am UTC](https://www.ruby-forum.com/t/save-checkbox-checked-or-unchecked-from-previous-page/135430 "2008-04-22T03:32:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rustam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@rustam](https://www.ruby-forum.com/u/rustam)\
**Post date:** [April 22, 2008, 3:32am UTC](https://www.ruby-forum.com/t/save-checkbox-checked-or-unchecked-from-previous-page/135430/1 "2008-04-22T03:32:27Z")

</div>

i have checkbox list on my page ,the page devided into several pages by  
will\_paginate ,i checked the checkboxs on the first page and when i go  
next page the information on previous page will refreshed . how can i  
save the information from previous page .thanks

---

<div class="post-metadata">

**Author:** ![rustam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@rustam](https://www.ruby-forum.com/u/rustam)\
**Post date:** [April 22, 2008, 7:21pm UTC](https://www.ruby-forum.com/t/save-checkbox-checked-or-unchecked-from-previous-page/135430/2 "2008-04-22T19:21:04Z")

</div>

Are you submitting a form between pages, or are you just checking  
boxes and then clicking on the will\_paginate link for the next page?

Generally, if you want a value to be persistent, you’ll have to either  
store it in the session or pass it as a hidden parameter in a form.

-Kyle

On Apr 21, 8:32 pm, Rustam M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
