Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I would like to disable Copy and Paste option on Text Field in ThingWorx during Runtime. Is there a way to do this?
What is the use case for this? Personally I'm not well versed, but this article seems to say that potentially it can be done with CSS (the other methods would require a custom widget)
https://www.makeuseof.com/disable-text-selection-cut-copy-paste-right-click-on-web-page/
We have a Manual Form where Customer does not want any user to Copy & Paste the Value while filling the Form, I already tried implementing using CSS as it is mentioned in the link you provided but its not working. It works for Label Widget but not for TextField.
I you aren't able to override that behavior with CSS most likely you will need to create a custom widget.
Hi @Naved_Ansari.
If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon