The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to apply validation condition in jQuery validate

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #28734

    I am using jquery validate.js file and it works fine and all the validation works fine. In one condition i want to apply some logical condition to validate like
    I have county select box, state select box and one state textbox
    If country selection value is "Other" then validation will apply on textbox not on state select box
    and if the country value in … then validation will applied on state select box not on state textbox

    how to do this stuff… :cry:

    i am show/hide the state textbox and state select box on selection of the country select box.


    Well according to me as a web developer the most enjoyable part is validation part. I was making one project. During one of my projects I found that that jquery-validate doesn’t play very well with Internet Explorer 6. So you have to choose the best of your browser. well you have not said that on which explorer you are using still i will give it a try.


    it is solved when i am using
    <select class="required">
    <option value="">Select</option>

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.