Hello,
One solution is to use javascript.
You'll have to use a listener on the field you want to check, like
this (using prototype) :
$('yourTextField').observe('blur', function(e)
or
$('yourform').observe('submit', function(e)
{
var textfield = Event.element(e)
// perform an ajax request to check if the text has been modified.
// if your request returns "true", use the javascript "confirm" to
display your alert message and save or not the modified text.
//
});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---