> For the complete documentation index, see [llms.txt](https://knowledge.out-smart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/formularios/configurar-campos-de-tabela-nos-formularios.md).

# Configurar campos de tabela nos Formulários

Configurar campos de tabela para recolher linhas e colunas estruturadas num Formulário.

Os campos de tabela ajudam a recolher valores repetidos num único bloco estruturado.

Utilize-os quando os funcionários precisarem de registar vários valores relacionados em linhas ou colunas.

### Para que servem os campos de tabela

Utilize um campo de tabela quando precisar de registar:

* medições em vários pontos
* valores de checklist numa estrutura fixa
* quantidades, totais ou registos de inspeção repetidos

### O que é possível configurar

Um campo de tabela permite controlar:

* o nome da tabela
* se a tabela é obrigatória
* orientação horizontal ou vertical
* valores fixos e células para preenchimento
* valores trazidos do OutSmart

{% stepper %}
{% step %}

### Abrir o formulário

Ir para **Definições → Formulários**.

Abrir um formulário existente ou criar um novo.
{% endstep %}

{% step %}

### Adicionar um campo de tabela

Adicionar o **Tabela** campo.

A configuração abre de imediato.
{% endstep %}

{% step %}

### Escolher a estrutura

Introduza um nome claro.

Escolher se a tabela é obrigatória.

Depois, escolher **Horizontal** ou **Vertical**.
{% endstep %}

{% step %}

### Adicionar linhas ou colunas

Usar **Adicionar opção** para construir a tabela.

As células devem ficar vazias quando os funcionários as tiverem de preencher.
{% endstep %}

{% step %}

### Adicionar valores fixos ou automáticos

Usar **Editar valores** quando se pretenda pré-preencher células.

É possível adicionar tags para trazer dados de cliente, empresa ou objeto.
{% endstep %}

{% step %}

### Guardar e testar

Guardar o Formulário.

Depois, teste a tabela numa ordem de trabalho e na saída em PDF.
{% endstep %}
{% endstepper %}

### Como funciona a orientação

**Horizontal** as tabelas tratam normalmente cada linha como uma entrada.

**Vertical** as tabelas tratam normalmente cada coluna como uma entrada.

Escolha o layout que corresponde à forma como os funcionários leem e preenchem o formulário.

### FAQ

<details>

<summary>Posso tornar um campo de tabela obrigatório?</summary>

Sim.

Os funcionários têm de preencher a tabela obrigatória antes de submeter o formulário.

</details>

<details>

<summary>Uma tabela pode preencher valores automaticamente?</summary>

Sim.

É possível usar tags para trazer valores do OutSmart para a tabela.

</details>

<details>

<summary>Também é necessário testar o Layout PDF?</summary>

Sim.

As tabelas podem ter um aspeto diferente na app e na saída em PDF.

</details>

### Tópicos relacionados

* [Criar um Formulário](/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/formularios/criar-um-formulario.md)
* [Tipos de campo de formulário](/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/formularios/tipos-de-campos-de-formulario.md)
* [Utilizar Cálculos em Formulários](/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/formularios/utilizar-calculos-em-formularios.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/formularios/configurar-campos-de-tabela-nos-formularios.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
