Disable copy and paste functions using javascript
I'm trying to disable the copy and paste functions on the vendor bank account page. I created an html object on the page that contains the below javascript. I populate the html opbject dynamically with the PeopleCode:
BANK_ACCT_WRK.HTMLAREA.Value = GetHTMLText(HTML.CL_COPY_JS, "BANK_ACCT_WRK_CL_BANK_ACCNT_NUM");
%BIND(:1) in the Javascript accepts the field BANK_ACCT_WRK_CL_BANK_ACCNT_NUM in the above PeopleCode. This works fine when the BANK_ACCT_WRK.CL_BANK_ACCNT_NUM is not in a scroll and the users do not have the ability to insert rows.