[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How to put alert messages on changing screen access

Pragati

9/17/2007 6:46:00 AM

Hi,

I have a small application. I have two features for instance, NEW and
SEARCH. When a user presses NEW, he's supposed to enter around 14
entries
in the form. Now, let's take he entered 8 entries and switches to
SEARCH
button. I want an alert message to be shown to the user that, if he
leaves
the page and doesn't SAVE the information, the information entered by
him
will be lost.

How do I put this functionality in place?

Thanks,
Pragati

1 Answer

Jano Svitok

9/17/2007 8:08:00 PM

0

On 9/17/07, Pragati <pragati.agarwal@siritech.com> wrote:
> Hi,
>
> I have a small application. I have two features for instance, NEW and
> SEARCH. When a user presses NEW, he's supposed to enter around 14
> entries
> in the form. Now, let's take he entered 8 entries and switches to
> SEARCH
> button. I want an alert message to be shown to the user that, if he
> leaves
> the page and doesn't SAVE the information, the information entered by
> him
> will be lost.
>
> How do I put this functionality in place?
>
> Thanks,
> Pragati

Please specify your app type (web app - rails, standalone - gui gtk,
tk, wx,...) - nobody is able to help you with such generic
description.