it should be able to work just like that:
rules : {
myDropDown:{required:"#myCheckbox:checked"}
}
More Related Contents:
- How to display messages from jQuery Validate plugin inside of Tooltipster tooltips?
- jQuery validation: change default error message
- jQuery Validation plugin: disable validation for specified submit buttons
- jQuery Validate – require at least one field in a group to be filled
- jQuery Validation Plugin – adding rules that apply to multiple fields
- validating multiple textbox having same name with jquery validator validates only first input
- How to clear jQuery validation error messages?
- jQuery Validate Required Select
- jQuery validator and a custom rule that uses AJAX
- How to validate array of inputs using validate plugin jquery
- jQuery validate dynamic input array
- ASP.net MVC 3 jQuery Validation; Disable Unobtrusive OnKeyUp?
- jQuery validate plugin: validate on blur() by default
- How can I use jQuery validation with the “chosen” plugin?
- jQuery Validation not working in IE7 + IE8
- jQuery Validate Ignore elements with style
- Jquery Validation for Dynamically Created Fields
- onkeyup and onfocusout is not working in jQuery Validate
- How to add a ‘submitHandler’ function when using jQuery Unobtrusive Validation?
- attaching jquery validation to replacement element
- jquery validation: prevent form submit
- $(“#form1”).validate is not a function
- jQuery Validation plugin: validate check box
- Manually set unobtrusive validation error on a textbox
- jquery client side validation not working in MVC3 partial view
- Jquery validation not working with ckeditor
- jQuery Validate plugin, one out of two fields is required
- jquery validation not waiting for remote validation to return true, considers form valid
- How to include JavaScript files by h:outputScript? [duplicate]
- jQuery multiple input name[] validation