How to make the project time sheet category mandatory in the time sheet portal after clicking add to time sheet from the task list

Ken65
Mega Expert

After clicking add to time sheet from the task list, an entry is created. The project time category drop down is not required and defaults to None when the time card is saved. Looking to make that drop down mandatory. Please advise.  thanks

1 ACCEPTED SOLUTION

Ken65
Mega Expert

I have implemented a solution although a bit of a hack. The time sheet portal doesn't appear to adhere to the dictionary configurations for a property to be mandatory. In the save function in the time card main container widget, I added an explicit check for a value in the field in the record coming into the function. Threw an alert and return false if validation failed. Thanks Andrew for your reply.

View solution in original post

10 REPLIES 10

VARUN37
Tera Expert

How to block dates in Time sheet? Lets say we have a holiday on Feb 15th, and would like to block this date in Timesheet, meaning users should be restricted to enter their sheets & the particular date should be greyed out.