# Using Datepicker in Rasa web chatbot

**URL:** <https://forum.rasa.com/t/using-datepicker-in-rasa-web-chatbot/56292>\
**Category:** Welcome to the Rasa Community Forum!\
**Created:** [November 23, 2022, 8:01am UTC](https://forum.rasa.com/t/using-datepicker-in-rasa-web-chatbot/56292 "2022-11-23T08:01:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamshivamgupta](https://avatars.discourse-cdn.com/v4/letter/i/cc9497/32.png) [@iamshivamgupta](https://forum.rasa.com/u/iamshivamgupta)\
**Post date:** [November 23, 2022, 8:01am UTC](https://forum.rasa.com/t/using-datepicker-in-rasa-web-chatbot/56292/1 "2022-11-23T08:01:40Z")

</div>

Hi,

I want to use a date picker in the rasa chatbot. I using this code in the domain.yml file.

```auto
utter_month:
  - custom:
      blocks:
      - accessory:
          initial_date: '2019-05-21'
          placeholder:
            text: Select a date
            type: plain_text
          type: datepicker
        text:
          text: Can you tell me the start date and end date?
          type: mrkdwn
        type: section

```

after training a model when I run the rasa x command to see the output on UI it’s coming like this: ![Screenshot from 2022-11-18 11-09-49](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/0/f/0f9a79d582e25ef3042360f3fe0ae71c864525db.png)

please help me to solve this problem I’m facing this for too long. I’m new in rasa so please guide me to solve this problem.

Thanks.

---

<div class="post-metadata">

**Author:** ![Murray69](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@Murray69](https://forum.rasa.com/u/Murray69)\
**Post date:** [November 24, 2022, 6:39am UTC](https://forum.rasa.com/t/using-datepicker-in-rasa-web-chatbot/56292/2 "2022-11-24T06:39:26Z")

</div>

if you’re building a slack bot and you want to use the date picker element, Rasa was throwing an error for the custom payload[.](https://www.employeeconnection.one/)
