Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialUdomsak Duchanee
3,110 PointsHow to add datepicker into form?
How to add datepicker in form? when click on the field and have calendar popover to pick the date,
1 Answer
nfs
35,526 PointsHey Udomsak Duchanee,
You could always look up in the documentation if you need to. But still as you asked this question, I'm answering it, here's how you add date picker in the HTML form. You can add this in the HTML:
<form action="/action_page.php"> Birthday: <input type="date" name="bday"> <input type="submit"> </form>