code: function(elem, target) {
  				this.selectDateOrig(elem, target);
  				var inst = $.calendarsPicker._getInst(elem);
  				if (!inst.inline && $.fn.validate) {
  					var validation = $(elem).parents('form').validate();
  					if (validation) {
  						validation.element('#' + elem.id);
  					}
  				}
  			}
docs: Trigger a validation after updating the input field with the selected date.
  @param elem {Element} The control to examine.
  @param target {Element} The selected datepicker element.