how to avoid users eliminating css using inspect element?
let’s say I have a form where if all inputs are not filled in then the submit button has the disabled style, but if you inspect the element and remove the CSS the user can submit even though all the form is not filled in, is there any insight for me?
2
Answers
You can’t. HTML, CSS and Javascript are executed at the client side. He can do what he wants if he knows how.
It is very important to validate the form on server side too because the user can not access the server.
To be honest no, you can’t avoid user to access inspect element, but you can prevent user to press :
Source: andrewstutorials.blogspot.com