- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I cannot find a way to remove "Cancel" and "Ok" buttons from my form Datepicker.
I see that in UI Builder component it is possible to remove those by deselecting "Show default footer actions":
But when editing form datepicker in FormBuilder I do not see any customization options.
Is there a way to make it so I do not need to first select date and then confirm it?
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @MiłoszT, please note the following:
In UI Builder, you can remove the OK/Cancel buttons from the Date Picker by deselecting “Show default footer actions” in the component settings. This works because UI Builder uses configurable Now Experience components.
However, in Form Builder, the Date Picker is part of the standard platform form field and does not currently provide an option to hide these buttons. If you want this behavior, you would need to:
- Use UI Builder for the form instead of Form Builder, or
- Create a custom UI component for the date picker.
For more details, please refer to this discussion: https://www.servicenow.com/community/developer-forum/how-to-remove-ok-and-cancel-button-from-calenda...
Regards,
Anjal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @MiłoszT, please note the following:
In UI Builder, you can remove the OK/Cancel buttons from the Date Picker by deselecting “Show default footer actions” in the component settings. This works because UI Builder uses configurable Now Experience components.
However, in Form Builder, the Date Picker is part of the standard platform form field and does not currently provide an option to hide these buttons. If you want this behavior, you would need to:
- Use UI Builder for the form instead of Form Builder, or
- Create a custom UI component for the date picker.
For more details, please refer to this discussion: https://www.servicenow.com/community/developer-forum/how-to-remove-ok-and-cancel-button-from-calenda...
Regards,
Anjal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
is the 1st screenshot from portal form?
But why to remove?
how will users then ensure the value they select actually gets set in that?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Ankur Bawiskar
Thank you for the response.
Yes, it is from portal form.
The goal is to reduce number of clicks needed to select the date. I think that many datepickers offer this functionality, even in different parts of ServiceNow, like UI Builder or record form, so users do not necessarily have to ensure the value they selected is correct.
Thank you,
Miłosz
