jjj

JQuery validate in Rails applications

Let’s quickly look at how can we enable client side validation using Jquery validate in a Rails applications. Relying on server-side validation done through the model is fine, but we can improve the usability of the application through client side validation. JQuery Validation Jquery Validation is a Jquery plugin for Client side form validation. This…

Read More
jjj

JQuery Validate Tricks

We are putting together few tricks that we routinely use with JQuery Validate. Please note that all the code snippets assumes that the form id is ‘my_form’ Enable validation on submission: Call the code snippet below in document.ready. $(“#my_form”).validate();   Confirm password validation: Refer this detailed blog post on this topic. http://tudip.blogspot.in/2012/10/jquery-confirm-password-validation.html Add STAR to all…

Read More