0

How to stop users to make changes in values by using Inspect Element / Developer Tool or by pressing F12? Presently users are able to make changes in values. I want to stop it. Is there any idea with out disabling keys?

Lyubomyr Shaydariv
  • 20,327
  • 12
  • 64
  • 105
Aman Gupta
  • 23
  • 4
  • 1
    If it is a form submit or something like that, you could probably validate at server side (i.e., if you have one). If not you wont be able to prevent it from a good computer user. To prevent from newbies and freshers, you could prevent key press by checking key code. – Vinod Kumar Apr 17 '15 at 08:31
  • possible duplicate of [How to Disable Function keys using Javascript?](http://stackoverflow.com/questions/13678847/how-to-disable-function-keys-using-javascript) – Code Lღver Apr 17 '15 at 08:32
  • This is not about the disabling the Function keys, It is about stop changes in values. – Aman Gupta Apr 17 '15 at 08:47

1 Answers1

2

You can not prevent that, because it happens on the users computers, and you have no control over those (usually).

Jost
  • 5,948
  • 8
  • 42
  • 72