Time Sheet Portal - Project Time Category

Tom Lapkowicz
Tera Expert

Hello.  In the Time Sheet Portal we would like to make the Project Time Category field mandatory if the Number starts with "PRJ".

 

So in the attached example, there is a record where the Number starts with PRJ and the Project Time Category field is "None".  As soon as I make this entry and then click off of it, I would want an alert saying "Project Time Category cannot be blank"

 

Is this possible?

2 REPLIES 2

Sunil B N
ServiceNow Employee
ServiceNow Employee

Hi Tom,
This will be customisation in the widget : sp_widget.do?sys_id=191df3b393332200ea933007f67ffbab

Name: Time Card Grid. Look for the method submitTimesheetButtonClicked.

 

You can broadcast warning message to user if the Project time category is not entered at this point.

I hope this helps.
Thanks and Regards,

Sunil B N

naveen kumar24
Tera Contributor

add BR in time_card table and do the validation