How do I limit the date field so that future dates cannot be selected for Assessment Metrics?

Not applicable

This is the survey form - assessment metrics - question data type: date that we want to limit.

Symon1_0-1766460367815.pngSymon1_1-1766460403207.png

3 REPLIES 3

Not applicable

Hey @Community Alums ,

 

seems duplicate question, have you tried this resolution provided here?

 

https://www.servicenow.com/community/itsm-forum/how-do-i-limit-the-date-field-so-that-future-dates-c...

 

 

Not applicable

Hi @Community Alums ,

 

Hope you're doing well! If this response answered your question, please close the thread by accepting it or feel free to ask any follow up questions.

SD_Chandan
Kilo Sage

HI @Community Alums ,

Assessment Metrics do not provide a built-in option to restrict date selection. To prevent users from selecting future dates, implement a server-side Business Rule on the asmt_metric_result table that validates the date value and blocks saving if it is greater than today. This ensures proper enforcement since UI-level restrictions are not supported for assessment surveys.

Thank you
Chandan