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