How to disable copy paste in a text box.Can anyone give the code to do the same in a custom control
How to disable copy paste in a text box.I saw an article with a partial code.But can anyone give the entire code for the control
How to disable copy paste in a text box.I saw an article with a partial code.But can anyone give the entire code for the control
Hi @azildav8,
Open the text area control, under the presentation tab expand advanced presentation options.
Add a class under cell read write and cell read only classes area, make sure that the class names should be the same.
Save the section rule.
Now open the UserWorkForm and add the below code under script tags $('.restrictcopy').bind("cut copy paste",function(e) { e.preventDefault(); });
Here I have named the css class as restrictcopy in my text area control and have used the same in the above script.
Discussion
Question Solved
Question
Discussion
Question Solved
Question Solved
Question
Question
Question
Question Solved
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.