On Nov 13, 2007 11:19 AM, Rey Tugade <[EMAIL PROTECTED]> wrote: > > Does anyone know how to disable the copy paste function? > i mean to disable ctrl+v for re-enter password in a sample > registration form. if possible that is. > > thank you. > > im quite fuzzy if this is possible. >
This isn't really CakePHP specific, as it is a client-side thing and requires some JavaScript. Also, it probably wouldn't work across all browsers, and someone could easily disable JS to get around it. Anyway, you should probably look into "onDragStart", "onSelectStart" and "onCopy" (this last one is IE specific AFAIK). - Gonzalo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
