Effective & Simple Inline Form Validation using jQuery

inline-form-validations

If you’re a web developer, you must have faced the problems of form validation technique that works everywhere in all kinds of forms. There are many form validation techniques, few are good, and few are ugly. And again, few good works only with the well formatted form. But if you have specific requirements of arranging form boxes here and there due to design specifications, such simple techniques doesn’t work well until you rearrange form elements.

Moreover, when it comes to display error, its again difficult to do that. Cedric Dugas has developed a simple & effective jQuery Solution, that not only validates form in simple way, but displays error in a nicely formatted div and positions it in the top right corner of the input. This way, you don’t need to worry about your HTML form structure.

Here is the Demo of the Script I’m talking about.

Here is a link to Cedric Dugas original post, from where you can use a jQuery inline form validation technique.

Enjoyed this post?

8 Comments (Post your comment)

  • Comment by John — December 28, 2010 @ 6:36 am

    thanks for this technique I was looking for it since yesterday..

  • Comment by Xcellence-IT — December 31, 2010 @ 5:31 am

    @John
    Thank you john for your comments! Good to see that it helps you.

  • Trackback by favshare.net — February 6, 2011 @ 7:00 am

    Effective & Simple Inline Form Validation using jQuery…

    Use simple inline form validation using jQuery and displays error in stylish div box, that do not disturb your existing html form structure….

  • Comment by Birkey — March 2, 2011 @ 5:10 am

    Thank you on your help!

  • Comment by Daniel — March 5, 2011 @ 4:56 pm

    Heya are using WordPress for your site platform? I’m new to the blog world but I’m trying to get started and create my own. Do you require any html coding knowledge to make your own blog? Any help would be greatly appreciated!

  • Comment by Lorrine Culliver — March 19, 2011 @ 4:32 am

    You really helped me! Thank yoU!

  • Comment by karma — May 21, 2011 @ 8:26 am

    The inline validation is simply great but I’m having problems with the css positioning of the error message. The page on my form moves to the right to show the error. Any help from anyone would be much appreciated

  • Comment by Xcellence-IT — May 21, 2011 @ 10:46 am

    Hi Karma, Can you share your link where we can view the problem you’re exactly facing?

RSS feed for comments on this post. TrackBack URL

Leave a comment

Allowed tags:
You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please do not spam, no link dropping, no keywords or domains as names; and do not advertise!

Live Chat or Call us at +91-8866 7711 00     Client Login