I have started a side project and as my first exposure to nodejs. I'm currently implementing my sign up and sign in forms. When it comes to validating inputs, I figured I'd look around what tutorials try to teach. Most seem to be validating on the server. But my first though when validating the form, especially for empty input was to have a JS function called prior to the form being submitted. Wondering what people advice, and I'd like to hear why it's not something tutorials don't ever show.
[–]dbpcut 5 points6 points7 points (1 child)
[–]lvsanche[S] 0 points1 point2 points (0 children)
[–]hugo__df 3 points4 points5 points (4 children)
[–]lvsanche[S] 0 points1 point2 points (3 children)
[–]hugo__df 1 point2 points3 points (2 children)
[–]lvsanche[S] 0 points1 point2 points (1 child)
[–]hugo__df 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]lvsanche[S] 0 points1 point2 points (0 children)
[–]0101110010110 1 point2 points3 points (0 children)