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

  • SEARCH
  • Home
  • 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 7655277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:28:27+00:00 2026-05-31T12:28:27+00:00

Possible Duplicate: How to use Twitter Bootstrap popovers for jQuery validation notifications? Trying to

  • 0

Possible Duplicate:
How to use Twitter Bootstrap popovers for jQuery validation notifications?

Trying to use bootstrap’s styles for form validation.

I’m using this javascript validator, that was customized for bootstrap:
https://github.com/ddarren/jQuery-Live-Form-Validation-For-Twitter-Bootstrap

In the head:

    <link href="bootstrap.css" rel="stylesheet">
    <script src="jquery.validate.js" type="text/javascript">

In the body:

    <form id="Form" action="" method="post">
      <div class="control-group">
        <input type="text" class="span3" id="Mobile" placeholder="Mobile
          Phone Number" name="Mobile">
      </div>

      <div class="control-group"> 
        <button type="submit" class="btn btn-primary btn-large">Submit
          </button></p>
      </div>
    </form>

And it doesn’t highlight the fields with bootstrap’s error styles. Any ideas where I’m going wrong? Thanks in advance.

  • 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-31T12:28:28+00:00Added an answer on May 31, 2026 at 12:28 pm

    I’m working on something similar so I think I might help you.
    First of all, jQuery-Live-Form-Validation-For-Twitter-Bootstrap library is quite old (September of 2009).
    It uses version 1.3.2 of jQuery (the newest is 1.7.1) and it doesn’t use the original Bootstrap files at all!
    If you downloaded jQuery-Live-Form-Validation-For-Twitter-Bootstrap (what I am sure you did) from github site you can easily check in css folder that there are two css files written by the author of that library.
    Answering to your question, I downloaded that lib and I’ve pasted your code and… it works.
    Simply, you need to have in head this (and that files in folders):

    <link rel="stylesheet" type="text/css" href="stylesheets/jquery.validate.css" />
    <link rel="stylesheet" type="text/css" href="stylesheets/style.css" />
    <script src="lib/jquery/jquery-1.3.2.js" type="text/javascript">
    </script>
    <script src="javascripts/jquery.validate.js" type="text/javascript">
    </script>
    

    what is originally taken from jQuery-Live-Form-Validation-For-Twitter-Bootstrap.
    If you really want to have Twitter Bootstrap form validation with jQuery I would like to recommend you using combined Twitter Bootstrap and jQuery Validation Plugin.
    I am working on it now and it works perfectly.

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

Sidebar

Related Questions

Possible Duplicate: Use of 'prototype' vs. 'this' in Javascript? I went to various websites
Possible Duplicate: Use of 'prototype' vs. 'this' in Javascript? I am confused with these
Possible Duplicate: Use of 'prototype' vs. 'this' in JavaScript? OK, So I am somewhat
Possible Duplicate: Use javascript variable in object name I am using CKeditor as a
Possible Duplicate: How to access this attribute using jquery, given a div defined by
Possible Duplicate: Use of 'prototype' vs. 'this' in Javascript? I've seen both these two
Possible Duplicate: Escape string for use in Javascript regex I have a msg like
Possible Duplicate: When to Use Double or Single Quotes in JavaScript Difference between single
Possible Duplicate: Use of var keyword in C# Which one is better? using var
Possible Duplicate: Testing use of NSURLConnection with HTTP response error statuses This is bizarre;

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.