类似下面的东西(这是我的头,没有测试):
... secondInput: { required: function(element){ return $("#firstInput").val()!=""; } } ....