title: Security of Javascript: Edit JS code for form validation in browser then submit the form
body: <p>I have a concern about security of JavaScript. It seems that one can edit the JavaScript code in browser to alter form validations so that he can submit something bad. I know that back-end validation is also necessary and important, but is there a way to prevent such modification of JS code at the front-end? Because, otherwise it seems like the effort paid to implement front-end validation with JavaScript can be easily wasted.</p>