Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It would also be cool if there was some documentation on how you might use validate.js in concert with server-side validations.


There isn't really any way to dovetail client-side validation with server-side validation.

Client-side validation should always be assumed to be disabled completely - view it as merely a convenience for your users. Help them switch dates into a correct format, make sure their userids aren't taken before they finish filling out their forms, that sort of thing.


>There isn't really any way to dovetail client-side validation with server-side validation

I think the parent of your comment was talking about using SSJS to re-use validation on both ends of the pipe.


I will be adding server-side js support, so this will be a definite use case.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: