Hello All,
Recently i had a requirement where i had to Disable Copy Paste on a particular field, to force user to Open Pick Applet rather then directly entering the value for some performance issues.
This is very simple to achieve if we use Open UI, and below piece of code can be used for the purpose.
$('[aria-label="Account"]').bind('copy paste cut',function(e) {
e.preventDefault();
alert('cut,copy & paste options are disabled on this Field!!');
});
Error Popup:
Hope this was helpful.
to extend this to List applet please follow the Post
http://www.siebelfoundations.com/2020/10/disabling-copy-paste-in-siebel-fields.html
it's works, Good.
ReplyDelete