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 8436869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:17:57+00:00 2026-06-10T07:17:57+00:00

A friend and I are building a jQuery Form Creator/Validator plugin, and we are

  • 0

A friend and I are building a jQuery Form Creator/Validator plugin, and we are also using twitter bootstrap because of its beautiful css elements!

When the user click on the submit button we want to apply a class (that makes the input box-shadow red) to the form elements that are required.

This works for all form elements except text. Apparently twitter bootstrap css is conflicting with the class in some way. The class is added to the element but nothing happens.

If someone out there could give us a hint, we would appreciate it!

Here is the code we are building (this is a simple version, of course):
http://jsfiddle.net/rdenadai/Hr9Gj/5/

Thanks!!

  • 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-06-10T07:17:59+00:00Added an answer on June 10, 2026 at 7:17 am

    Bootstrap’s CSS rules are taking precedence over yours, since they are more specific, in particular, the input[type="text"] rule. To override them, add the !important declaration to your styles:

    .required {
        border:1px solid rgba(196, 39, 39, 0.3) !important;
        -webkit-box-shadow: 0px 0px 5px 2px rgba(196, 39, 39, 0.3) !important;
        box-shadow: 0px 0px 5px 2px rgba(196, 39, 39, 0.3) !important;
    }
    ​
    

    DEMO

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

Sidebar

Related Questions

I've went into argument with my friend, who says that for building applications, using
I am building a simple cart for a friend and using an array in
I am building a site for my friend using PHP and MySQL (Or SQLite,
A friend asked me for help on building a query that would show how
My fellow friend is building site in flash and he uses XML files to
I am building a small application for a friend, basically it is for invoicing
I'm building an application in ruby using the sinatra framework and am having trouble
I want to have a login form on a charity website I am building
I am using Django and AJAX in a project where I am building an
I'm building an FB application. I'm using the JS SDK on my website for

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.