DEV Community

Discussion on: How to add a contact form to a static website

Collapse
 
haosik profile image
Nikolay Mochanov

What if "some user" deletes rules attributes by dev tools?

Collapse
 
starbist profile image
Silvestar Bistrović

I am not sure how to prevent users/devs from messing around with dev tools. If you find out how, let me know. ✌

Collapse
 
miguejarias profile image
Miguel Arias

Hi Nikolay, im Miguel Co-Founder of Kwes.

The rules are synced server side on page load. So if someone tries to delete any rules via devtools, it will not affect the form in anyway since the rules were already synced and saved server-side every time the form is loaded. Same goes for the number of fields, the type attribute, etc. this means it also prevents people from injecting fake fields via devtools as well. Any of those changes via devtools are ignored by Kwes.