Disable Past date in Date variable on Record Producer form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 07:07 AM
Hi,
I have a requirement to add Date field that should only allow user to select future dates, and we used client-side validation to fulfill the requirement.
I would like to know, if there is there any way to disable past date from the Date field, instead of writing client-side validation script.
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 08:36 AM
Hi @Namita_Snow,
Yes. it is client side validations with out using scripts/ code.
I agree with @OlaN , there is no way to disable the past dates.
If my response helps you resolve your issue. Kindly mark it as helpful & correct. It will be helpful to future readers! 👍🏻
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 08:45 AM
Hi @Namita_Snow ,
If our responses helped you could you please mark them as solution accepted as well, so that others can benefit from it.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 04:05 AM
Hey there Namita!
Although it can be done with UI policy the record can still be submitted. To restrict the record from submitting and adding the error message you can use a "onSubmit catalog client script" as follows!
//script
Regards,