• madcaesar@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      That’s not the front-end job. You can do common sense stuff, but any real protection needs to be on the backend. Any front end validation is basically “plz don’t hax”

      • Matty_r@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        Frontend validation is for real time user feedback (without hitting the backend constantly) instead of needing to submit the form before throwing an error/warning.