Form에서 필드값들 유효성 체크할때 괜찮은 javascript 있다. validate.js http://rickharrison.github.io/validate.js/ 설치 방법 Include the JavaScript file in your source <script type="text/javascript" src="validate.min.js"></script> 사용법 Create the validation object with your desired rules. This needs to be in a <script> tag located just before your closing </body> tag. The reason for this being that the DOM needs to have your form loaded before you can attach your rules. var validator = new FormValidator('example_form', [{ name: 'req', display: 'required', rules: 'required' }, { name: 'alphanumeric', rules: 'alpha_numeric' }, { name: 'password', rules: 'required' }, { name: 'password_confirm', display: 'password confirmation', rules: 'required|matches[password]' }, { name: 'email', rul...