title: How do I automatically assign the date i clicked on my calendar to a textbox
body: <p>The first print is my calendar, already fully functioning. Upon clicking on any day (any rectangle that has a day in it) i'm redirected to "formteste" which is my second print. What i'd like to know is how can i get the value on the "data" textbox to be the date which i clicked on the calendar. For exemple, if i click on day 5 of february, id like the "date" textbox to be automatically "05/02/2019".</p>
  
  <p><a href="https://i.stack.imgur.com/FE7Iw.png" rel="nofollow noreferrer">calendar</a></p>
  
  <p><a href="https://i.stack.imgur.com/7diNL.png" rel="nofollow noreferrer">formteste</a></p>