- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2019 11:07 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2019 01:33 AM
ok i got it.
it's true/false type field , it always contains a true or false value so it will always be considered to be filled that's why its showing you as grayed astric mark
for reference. you can inspect on that field and check the value , you will see it has "false" value .
solution is , you can either create here custom field with the choice value "yes" or "no".
Cab Required - yes
No
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2019 01:42 AM
Thank you very much.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2019 11:20 PM
Hi there,
Could you clarfify your question a bit more? What exactly do you mean with highlight on submit? That it will become mandatory? Or the checkbox itself gets a color? Or outline color red or something? Or the label colored?
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2019 11:58 PM
checkbox itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2019 11:41 PM
Can you clarify on what you are trying to achieve? Also you just deleted another post of yours on making planned start date in red color?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2019 12:06 AM
Yes, I'm sorry, I deleted another post because my customer requirement is check box.
I just want to highlight (red) for check box, if it's checked when clicking submit button.
function onSubmit() {
.
.
.
if (cab_required === 'true') {
g_form.addErrorMessage('Unable to close the Change request as there are ' + g_form.getLabelOf('cab_required'));
// SetRedBox(cab_required)
}
.
.
.
}