Disable dates before Today()

Hi guys,

For a date field, I would like to disable the dates before Today()

For now I can do something like this, placing a “Valid_if” expression, and showing a message when the date is before today():

3X_c_b_cbf217cd4248373c1ba73a408b0ac7aa3f24aff4.png

But what I want to do, is that the user can not even select the dates before today().

is that possible?

Solved Solved
0 5 1,609
1 ACCEPTED SOLUTION

Hi @Geovany_Kelly ,

No, that will not be possible as per my understanding.

View solution in original post

5 REPLIES 5

As per my understanding, since the dates are displayed from calendar widget from OS /device, we may not have control over it.

  1. Are the request dates likely to have a very large range? Meaning, from today to next one or more years or say just today to today+ 1 month

  2. Will a somewhat crude non-elegant workaround do? So the dates option will not be from a calendar widget but from an enum?

If the date range is short( less than a month or so) and you are okay for a workaround, please explore creating an Enum with base type as the date and valid if , something like

LIST(TODAY(),

TODAY()+1,

TODAY()+2,

TODAY()+3,

TODAY()+4, …,

TODAY()+28,

TODAY()+29,

TODAY()+30)

Hi @Suvrutt_Gurjar

Thanks for taking time resplying, what I want is like these images below, only disable the days before the current system date.

3X_3_4_340b6b2e8911ef04836a5b10ac2593a26e364b90.png

Will that be posible using your suggestion…?

Hi @Geovany_Kelly ,

No, that will not be possible as per my understanding.

Noted, thanks @Suvrutt_Gurjar !

You can try input formula in editable = isblank([date])

Top Labels in this Space