Introdução

Define required fields for time entries

6 min de leitura

As an Owner / Admin, you need to make sure that all time entries in your workspace are accurate and consistent. One way to achieve this is by defining required fields for time entries.

What are the required fields? #

Required fields are mandatory fields that must be completed before a time entry can be created or saved. By defining which fields should be required, you make sure that time entries contain the necessary information for proper organization, reporting, and analysis.

You can choose from the following fields to make mandatory for all time entries:

  • Projeto
  • Tarefa
  • Etiqueta
  • Descrição

For example, if Tarefa is a required field, time entries linked to projects without tasks will not show up in the project picker, preventing incomplete time entries from being submitted.

Who can define required fields? #

Only Workspace admins e Proprietários have the permissions to configure required fields. As an administrator, you can:

  • Access the Campos personalizados tab under Configurações do espaço de trabalho
  • Create, edit, or delete time entry custom fields
  • Create, edit, or delete user custom fields

Required fields are a feature available on paid plans, so you will need to upgrade your workspace to a Pro or Enterprise plan to access this functionality.

What are custom fields? #

In addition to the standard fields, you can add campos personalizados to track anything specific to your business needs. 

These could include:

  • Expenses, mileage, breaks, overtime
  • Invoice status, location, equipment
  • Links to tickets, receipts, and more

Create custom fields #

To create custom fields for time entries:

  1. Vá para a página Configurações do espaço de trabalho > Campos personalizados
  2. Clique em Create new field and select the field type:
    • Texto: Free-text input
    • Número: Only numerical values (e.g. mileage, expenses)
    • Link: URLs (e.g. links to receipts)
    • Trocar: Yes/No options (e.g. paid/unpaid)
    • Selecionar: Dropdown list (e.g. status, location)
    • Selecionar vários: Allows multiple selections (e.g. equipment used)

Make custom fields required #

To set a campo personalizado as required for every time entry:

  1. Make sure the field is Visível with a default value, or editable by users
  2. Em Configurações do espaço de trabalho, under the Geral tab, select the checkbox for the custom field in the Não permitir salvar tempo sem .
  3. The field will now appear as a required field in both Rastreador de tempo e Planilha, ensuring all users fill it out when entering time

Enable required fields #

Follow these steps to enable required fields for time entries:

  1. Navegue até a página Configurações do espaço de trabalho .
  2. Clique nos Campos personalizados tab where you can define which fields should be mandatory
  3. Choose from the fields listed (project, task, tag, description) and check the box next to each field you want to make mandatory
  4. Clique em Salvar para registrar as alterações

Como funciona #

If you mark Projeto e Etiqueta as required fields:

  • Users will not be able to add a time entry without selecting a project and a tag
  • The timer can be started, but it cannot be stopped until both fields are filled in
  • Time entries will not save without these two fields

Best practices for using required fields #

  • Required fields should be consistent across all projects and workspaces to maintain clean and organized time entries
  • Set your custom fields to track essential business-specific information for reporting and analytics
  • Periodically review your required fields and custom fields to ensure they still align with your workspace’s needs

Perguntas frequentes #

What happens if I don’t set any fields as required? #

If you don’t set any fields as required, users can submit time entries without completing critical information like the project, task, or description. While this won’t prevent users from adding time entries, it can lead to incomplete or inconsistent data, making reporting and analysis more difficult.

How to make sure that time entries are not submitted without a project or task? #

To ensure that time entries are not submitted without a project or task, you need to enable the Projeto e Tarefa fields as required. 

Once these fields are marked as required:

  • Time entries cannot be submitted without selecting a project and task
  • Projects that don’t have tasks will not show up in the project picker
  • Timer can be started but cannot be stopped until these fields are filled

Can I make a custom field visible only for specific projects? #

Yes, custom fields can be set to be visible only for specific projects. In Project settings, you can manage which custom fields should be visible and set default values for each project. Additionally, you can choose to make some fields visible only when a user selects a specific project.

What happens if I edit a select-type custom field after time entries have been created? #

If you edit a select-type custom field (such as changing the available options), existing time entries will retain the original value. However, if you update the projeto of a time entry to one with a different default value for that custom field, the entry will inherit the new default value.

For example, if you had a Localização field with options Los Angeles e Nova Iorque and then changed Los Angeles ao San Francisco, any existing time entry marked with Los Angeles will still show that option unless the project is changed, in which case it may inherit the default value for that project.

Can I make certain fields invisible to regular users? #

Yes, you can make certain fields invisible to regular users while still allowing them to track the data. Invisible fields can be used for metadata, project IDs, or backend integrations. Users won’t see these fields in their Time Tracker or Timesheet, but the data will still be available for reporting and can be used in exports or API integrations.

How do I bulk edit custom fields across multiple time entries? #

To bulk edit custom fields:

  1. Navegue até a página Relatório detalhado in your workspace
  2. Use the edição em massa feature to update custom field values across multiple time entries at once
  3. Select the time entries you want to modify and apply changes to the relevant custom field(s)

This is especially helpful for making mass updates to fields like status or location.

Can required fields affect my reports? #

Yes, required fields can be used in relatórios. When you export time entries to Excel or CSV, the required fields (and their values) will appear in the Relatório detalhado. This allows you to filter and analyze time entries based on those required fields, ensuring you have consistent and complete data for reporting purposes.

Esse artigo foi útil?

Thank you! If you’d like a member of our support team to respond to you, please drop us a note at support@clockify.me