# Date range - option for any date in the past

**URL:** <https://community.miniextensions.com/t/date-range-option-for-any-date-in-the-past/528>\
**Category:** Feature Requests\
**Created:** [October 16, 2023, 2:43pm UTC](https://community.miniextensions.com/t/date-range-option-for-any-date-in-the-past/528 "2023-10-16T14:43:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![willh](https://avatars.discourse-cdn.com/v4/letter/w/ecccb3/32.png) [@willh](https://community.miniextensions.com/u/willh)\
**Post date:** [October 16, 2023, 2:43pm UTC](https://community.miniextensions.com/t/date-range-option-for-any-date-in-the-past/528/1 "2023-10-16T14:43:50Z")

</div>

Would it be possible to allow a date selection for any date in the past, not just within the past year etc.?

 ![CleanShot 2023-10-16 at 15.42.15@2x](https://canada1.discourse-cdn.com/flex035/uploads/miniextensions/original/1X/0dcf9629050081a383ca10eb9a67b12fadb054d3.png)

---

<div class="post-metadata">

**Author:** ![Abdul](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Abdul](https://community.miniextensions.com/u/Abdul)\
**Post date:** [October 19, 2023, 11:00am UTC](https://community.miniextensions.com/t/date-range-option-for-any-date-in-the-past/528/2 "2023-10-19T11:00:49Z")

</div>

Hi @willh. Can your provide more information about your use case. A real-life example of the problem that you are trying to solve would be ideal as reference.

---

<div class="post-metadata">

**Author:** ![willh](https://avatars.discourse-cdn.com/v4/letter/w/ecccb3/32.png) [@willh](https://community.miniextensions.com/u/willh)\
**Post date:** [October 22, 2023, 5:56am UTC](https://community.miniextensions.com/t/date-range-option-for-any-date-in-the-past/528/3 "2023-10-22T05:56:40Z")

</div>

Ok. The use case is quite simple - portal users are filling in a date field for when an item was last completed. The date must be in the past but could be further back than one year ago.

It seems like a simple extension of any use case that requires the existing option to limit by past year…

---

<div class="post-metadata">

**Author:** ![Abdul](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Abdul](https://community.miniextensions.com/u/Abdul)\
**Post date:** [October 25, 2023, 9:57am UTC](https://community.miniextensions.com/t/date-range-option-for-any-date-in-the-past/528/4 "2023-10-25T09:57:15Z")

</div>

Hi @willh. Sorry for the delay in responding. Field validation should be able to cover this use case.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/miniextensions/original/1X/055c7df99d85f47889d605bdec239bea93554146.png)  
Please let me know if there is anything else that we can help you with.

---

<div class="post-metadata">

**Author:** ![willh](https://avatars.discourse-cdn.com/v4/letter/w/ecccb3/32.png) [@willh](https://community.miniextensions.com/u/willh)\
**Post date:** [October 25, 2023, 10:41am UTC](https://community.miniextensions.com/t/date-range-option-for-any-date-in-the-past/528/5 "2023-10-25T10:41:40Z")

</div>

@Abdul thanks but not quite. The field validation doesn’t allow me to select ‘before tomorrow’. A fixed date is not useful in this scenario.

---

<div class="post-metadata">

**Author:** ![Abdul](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Abdul](https://community.miniextensions.com/u/Abdul)\
**Post date:** [October 25, 2023, 1:09pm UTC](https://community.miniextensions.com/t/date-range-option-for-any-date-in-the-past/528/6 "2023-10-25T13:09:22Z")

</div>

Good point @willh. I have created a ticket about your use case. We will keep you updated through this channel.
