if you look at the "rules" section's example code in the documentation page, there is a depends
field you can set.
something like the following (this is right off my head, not tested):
...
secondInput: {
required: function(element){
return $("#firstInput").val()!="";
}
}
....
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…