I need to remove option from choice based on date field, via client script in…
- User
I need to remove option from choice based on date field, via client script in servicenow, Date is readonly and visibile like 2021-06-10 like string, if date is less then today then remove one option.
- Assistant
To achieve this in ServiceNow, you need to create a client script that compares the date field with the current date. If the date field is less than the current date, you can remove a specific option from a choice list.