- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2024 01:49 PM - edited ‎03-08-2024 01:52 PM
We have a request to limit our users from selecting a date in a catalog request item to the current month only. For example, today is March 8, 2024, we want to ONLY allow any day in the current month (March) to be selectable. We do not want users being able to select a past date in a previous month, or a future date in the next month.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2024 12:23 PM
Hi,
Prohibiting date selection by removing dates before and after the current month is not doable without DOM manipulation, which is to be avoided.
But you can easily implement a UI policy and UI policy action that clears the value if the user selects a invalid date.
No code is required (or almost none depending on your needs).
See example below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 07:08 PM
Never Mind, the option for trends lets you select dates.