Reputation
Next privilege 125 Rep.
Vote down
Badges
2
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Sep
24
awarded  Autobiographer
Feb
12
comment When client and server side validations occur, doesn't it make for a better UX to only do server validations?
+1. This lets you put all your actual validation code on the server. All the client has to do is pass the input to the server-side validation method via AJAX, and then display the validation result to the user (if needed). That way you don't have validation code in two places. It also makes it easy to repeat the client-side validation after the form is submitted.
Feb
12
awarded  Supporter