A question about this example: https://htmx.org/examples/inline-validation/
This paradigm revolves around sending validation requests to server-side endpoints, is there any reason to put that load on the server rather than validate it on the page prior to submit with JS? Or scalability issues?
Not being antagonistic, genuinely curious because I've not seen inline validation done this way.