# Calendar Date

**URL:** <https://community.glideapps.com/t/calendar-date/40292>\
**Category:** Project Showcase\
**Created:** [March 31, 2022, 3:32pm UTC](https://community.glideapps.com/t/calendar-date/40292 "2022-03-31T15:32:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge\_Quintilla](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jorge_quintilla/32/36107_2.png) [@Jorge\_Quintilla](https://community.glideapps.com/u/Jorge_Quintilla)\
**Post date:** [March 31, 2022, 3:32pm UTC](https://community.glideapps.com/t/calendar-date/40292/1 "2022-03-31T15:32:49Z")

</div>

Buenas tardes a todos.

Como puedo hacer en un calendario para bloquear los días que son domingo y no poderlos seleccionar.  
Ya que mi negocio se encuentra cerrado.

Muchas gracias.

![calendar](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/4/b4a2f5e04ce40a845b3cef9c220f01be76ace57a.png)

Uploading: image.png…

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 1, 2022, 12:23am UTC](https://community.glideapps.com/t/calendar-date/40292/2 "2022-04-01T00:23:56Z")

</div>

Do you do this inside a form?

I assume you can follow the steps like this.

- Create a Math column in your destination table with the format

WEEKDAY(D)

With D being the date you let the user choose here.

- In your form, add a hint text telling people that Sundays can’t be picked. Show the hint component only when the Weekday column above equals 1 (equivalent to Sunday).

- Add a rich text component and add the code below.

```auto
<pre><span><style>

[data-test="nav-button-Enviar"] {
opacity: 0.4;
pointer-events: none;
}

```

Then show the rich text component only when weekday equals 1. This will disable your “Enviar”/“Submit” button when the chosen date is Sunday.

Let me know if it works.

---

<div class="post-metadata">

**Author:** ![Jorge\_Quintilla](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jorge_quintilla/32/36107_2.png) [@Jorge\_Quintilla](https://community.glideapps.com/u/Jorge_Quintilla)\
**Post date:** [April 1, 2022, 7:46am UTC](https://community.glideapps.com/t/calendar-date/40292/3 "2022-04-01T07:46:03Z")

</div>

Thank you ThinhDinh, your solution solved my issue 👍
