Да, здесь:
function validate_form() {
return retVal = !0, retVal == 1 && $(":text")
.each(function () {
return $this = $(this), isNaN($this.val()) ? ($this.focus(), $.jGrowl("Please enter a valid date!", {
theme: "smoke"
}), retVal = !1, !1) : void 0
}), retVal == 1 && $("#date-1-dd")
.each(function () {
return $this = $(this), $this.val() > 31 ? ($this.focus(), $.jGrowl("Please enter a valid day, should be no more than 31!", {
theme: "smoke"
}), retVal = !1, !1) : void 0
}), retVal == 1 && $("#enddate-1-dd")
.each(function () {
return $this = $(this), $this.val() > 31 ? ($this.focus(), $.jGrowl("Please enter a valid day, should be no more than 31!", {
theme: "smoke"
}), retVal = !1, !1) : void 0
}), retVal == 1 && $("#date-1-mm")
.each(function () {
return $this = $(this), $this.val() > 12 ? ($this.focus(), $.jGrowl("Please enter a valid month, should be no more than 12!", {
theme: "smoke"
}), retVal = !1, !1) : void 0
}), retVal == 1 && $("#enddate-1-mm")
.each(function () {
return $this = $(this), $this.val() > 12 ? ($this.focus(), $.jGrowl("Please enter a valid month, should be no more than 12!", {
theme: "smoke"
}), retVal = !1, !1) : void 0
}), retVal == 1 && $("#date-1")
.each(function () {
return $this = $(this), 1900 > $this.val() || $this.val() > 3e3 ? ($this.focus(), $.jGrowl("Please enter a valid year!", {
theme: "smoke"
}), retVal = !1, !1) : void 0
}), retVal == 1 && $("#enddate-1")
.each(function () {
return $this = $(this), 1900 > $this.val() || $this.val() > 3e3 ? ($this.focus(), $.jGrowl("Please enter a valid year!", {
theme: "smoke"
}), retVal = !1, !1) : void 0
}), retVal
}