# Select a custom date

**URL:** <https://community.tulip.co/t/select-a-custom-date/9619>\
**Category:** Product Suggestions\
**Tags:** dates, tulip-player, custom-widgets, personalization\
**Created:** [October 19, 2023, 7:47pm UTC](https://community.tulip.co/t/select-a-custom-date/9619 "2023-10-19T19:47:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jhondy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/jhondy/32/9414_2.png) [@Jhondy](https://community.tulip.co/u/Jhondy)\
**Post date:** [October 19, 2023, 7:47pm UTC](https://community.tulip.co/t/select-a-custom-date/9619/1 "2023-10-19T19:47:39Z")

</div>

Hello,

I’m working on an App that needs to update daily engagement dates. It would be great to customize the date section in the Date Input to allow you to hide weekends, ie Saturday and Sunday:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/8/83797d511909001970da86f4a21ae9702c745846.png)

![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/4/4ee30bcd6899ce789b71cf549e1f3627086484df.png)

---

<div class="post-metadata">

**Author:** ![Beth](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/beth/32/5987_2.png) [@Beth](https://community.tulip.co/u/Beth)\
**Post date:** [October 20, 2023, 2:27pm UTC](https://community.tulip.co/t/select-a-custom-date/9619/2 "2023-10-20T14:27:27Z")

</div>

Thanks for the input! Is the motivation behind this to prevent someone form accidentally selecting a weekend / make it cleaner to see the days that are relevant to you?

---

<div class="post-metadata">

**Author:** ![Jhondy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/jhondy/32/9414_2.png) [@Jhondy](https://community.tulip.co/u/Jhondy)\
**Post date:** [October 20, 2023, 3:25pm UTC](https://community.tulip.co/t/select-a-custom-date/9619/3 "2023-10-20T15:25:11Z")

</div>

That’s correct, we want to prevent choosing weekend days. In case we can’t hide them, I’d like to send an alert when you select weekends.

---

<div class="post-metadata">

**Author:** ![Beth](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/beth/32/5987_2.png) [@Beth](https://community.tulip.co/u/Beth)\
**Post date:** [October 20, 2023, 5:00pm UTC](https://community.tulip.co/t/select-a-custom-date/9619/4 "2023-10-20T17:00:12Z")

</div>

Got it!

Also on sending the alert if a weekend is selected - you should be able to do something like this currently.

For example, on the “submit” button for the form screenshot you are showing here - you could have a 2 triggers:

1. To convert the datetime variable from the date picker widget to the day of the week  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/5/52724221ed8284fec015a0e720dba7c3740d2169.png)
2. some logic to check for the weekend days Saturday and Sunday and then an action to either prevent submission, show an error, send an alert (whatever you prefer)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/7/74838c95011bfce57d7c289f8c97dc59cc9b51f8.png)

---

<div class="post-metadata">

**Author:** ![RDuke](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@RDuke](https://community.tulip.co/u/RDuke)\
**Post date:** [October 26, 2023, 7:52pm UTC](https://community.tulip.co/t/select-a-custom-date/9619/5 "2023-10-26T19:52:40Z")

</div>

I agree; I would love to see functionality to be able to show/hide the time options as well.

---

<div class="post-metadata">

**Author:** ![clark\_john\_david](https://avatars.discourse-cdn.com/v4/letter/c/35a633/32.png) [@clark\_john\_david](https://community.tulip.co/u/clark_john_david)\
**Post date:** [April 1, 2025, 12:27pm UTC](https://community.tulip.co/t/select-a-custom-date/9619/6 "2025-04-01T12:27:06Z")

</div>

This has just come up for us, we want to be able to control whether the input is Date or Time or Date/Time.
