# How to make a question before form exit

**URL:** <https://www.ruby-forum.com/t/how-to-make-a-question-before-form-exit/84449>\
**Category:** Rails\
**Created:** [February 4, 2007, 8:18pm UTC](https://www.ruby-forum.com/t/how-to-make-a-question-before-form-exit/84449 "2007-02-04T20:18:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e274bd/32.png) [@jose](https://www.ruby-forum.com/u/jose)\
**Post date:** [February 4, 2007, 8:18pm UTC](https://www.ruby-forum.com/t/how-to-make-a-question-before-form-exit/84449/1 "2007-02-04T20:18:01Z")

</div>

Hello,  
I’m makeing a rails aplication where I need to make a qustion to my  
users like ‘Do you want to save changes?’ if the user exit of the form  
without save changes. If this possbile?

---

<div class="post-metadata">

**Author:** ![jose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e274bd/32.png) [@jose](https://www.ruby-forum.com/u/jose)\
**Post date:** [February 4, 2007, 8:53pm UTC](https://www.ruby-forum.com/t/how-to-make-a-question-before-form-exit/84449/2 "2007-02-04T20:53:14Z")

</div>

Jose wrote:

> I’m makeing a rails aplication where I need to make a qustion to my  
> users like ‘Do you want to save changes?’ if the user exit of the form  
> without save changes. If this possbile?

Google onunload.

–  
Phlip  
[Redirecting...](http://www.greencheese.us/ZeekLand) ← NOT a blog!!!
