added hidden form fields and date picker