t6 add ajax submit and datepicker widget