Disable dates on Date picker field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2024 09:38 AM
Hello ,
I have a requirement where if the date selected is more than 30 days compared to the current date, then disable all the dates after 30 days. I know I need to deal here with Macros, UI Pages, etc. I need to know what approach I can follow here.
See the example below.
P.S.: I do not want client script manipulations of alter or anything like that.
Thank you,
Mahesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2024 05:59 AM
Hi @maheshkhatal ,
Without doing Client Script manipulations, it's not possible to validate your condition on the date picker and disable the dates. You would require to write an onChange script on that field & validate your conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 05:20 AM
Sandeep, thanks for taking out your time and giving a thought to it. I am not looking at onChange client script at the moment.