Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 563077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:37:18+00:00 2026-05-13T12:37:18+00:00

I need to include client side validation on one of my forms, and the

  • 0

I need to include client side validation on one of my forms, and the webdesign did not take into account any space for validation messages.

I think using validation tooltips together with some borders around non-valid input controls would do the job, but I am having problem finding any javascript validation that is using tooltips.

Can anyone recommend a solution? Preferably supporting ASP.NET MVC directly, but this is not a strict requirement, I am ready to customize any javascript solution to suit ASP.NET MVC.

I am using castle validator to do server side validation and MvcValidation (http://blog.codeville.net/2008/04/30/model-based-client-side-validation-for-aspnet-mvc/) solution on client side, which uses LiveValidation. This works very nice, but needs some customization to not display the validation messages next to controls.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:37:18+00:00Added an answer on May 13, 2026 at 12:37 pm

    The jQuery Validation library is one of the most popular choices. For your question, you can override is the errorPlacement call like this:

    $('formName').validate({ 
      errorPlacement: function(error, element) {     
                        element.attr("title",error.html())
                          .addClass("cssClassWithBorder");
                      }
    });
    

    You can read up on the full options list here: Validation plugin options

    There are a few toolkits out there, the one most applicable based on your question would be xVal by Steve Sanderson.

    Keep in mind that ASP.Net MVC 2 is bringing a lot more to the table in terms of annotations, validation and simplifying the client/server validation duplication of code that’s out there now. It’s a provider based model and there should be plenty of community providers coming out that may provide more of what you’re after.

    The default implementation will be based mostly around the jQuery Validation framework (the same as above) in an annotation bubbling way (same attributes way down on the classes for both server and client code)…very similar to how xVal does it. Based on your timelines and flexibility, waiting for MVC 2 may be a better option and less work.

    At the time of this answer, MVC 2 RC is the current release for this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can't seem to get any client side validation working on a MVC 2
I have a .txt file that I need to include into a page, that
If we need to issue a bug patch that does not include current development
I need to include a copyright statement at the top of every Python source
Why do we need to use: extern C { #include <foo.h> } Specifically: When
I need to modify the following MySQL statement to include information from a third
Why do we need both using namespace and include directives in C++ programs? For
I need to make some reflective method calls in Java. Those calls will include
We're building a set of external web services to be consumed client-side (using jquery/AJAX)
I am updating a client site that uses Jetbox CMS v2.1 . I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.