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

Andrew Payze
Kilo Guru

Hi Ken,

You can make the field mandatory.  You need Admin level access.  The screenshot shows there is a check box for Mandatory

Andrew

 

find_real_file.png

Ken65
Mega Expert

Hi Andrew

 

This works fine in the time card form, however, the time sheet portal doesn't appear to adhere to dictionary settings

Hi Ken,

Sorry not a Portal guru, you could try a UI Policy maybe.  Sorry not much help

Andrew

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.