Time Sheet Portal: Prevent time card submission when required subcategories are not populated

mraabe108011028
Tera Contributor

We are in the process of implementing a time taxonomy where a single category may have anywhere from 0 to 4 dependent subcategories (e.g., Category > Product Line > Product Type> Region > Country).

 

In the time card form view, each subcategory in that chain is required to be populated before the time card can be saved. If not populated, an error message displays with the message "Some fields are incomplete: [Subcategory]" when trying to save the time card. Interestingly, the same message displays in the time sheet portal header.

 

mraabe108011028_0-1726087097548.png

 

For that same scenario, if I were to select a category from within the time sheet portal, click "Add to Time Sheet", enter time against that category from within the portal view, then submit the time card, none of the validations  to restrict the submission take place. The time is only captured at the category level and none of the required subcategories are populated. 

 

mraabe108011028_1-1726087651061.png

Does anyone know of a way to not allow users to submit entries from the time sheet portal when those required subcategories are not populated?

 

0 REPLIES 0