> For the complete documentation index, see [llms.txt](https://docs.opencityitalia.it/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opencityitalia.it/stanza-del-cittadino/guida-alla-creazione-dei-servizi-digitali/creare-un-servizio/le-funzioni/impedire-linvio-di-piu-domande.md).

# Impedire l'invio di più domande

{% hint style="warning" %}
La modifica **non è retroattiva**: nel caso di un servizio modificato in produzione, non viene tenuto conto delle richieste inoltrate prima della modifica: un utente che avesse inoltrato una richiesta **prima** della modifica potrebbe comunque inoltrarne una seconda.
{% endhint %}

Come admin puoi impedire che un utente invii più di una richiesta per lo stesso servizio, facendo una verifica sul codice fiscale, questo controllo vale anche per le pratiche create dall'operatore tramite il backoffice.

Trascina un componente [Textfield](/stanza-del-cittadino/guida-alla-creazione-dei-servizi-digitali/creare-un-servizio/i-componenti/il-textfield.md) all'interno del modulo

<figure><img src="https://docs.opencityitalia.it/~gitbook/image?url=https%3A%2F%2F4252442743-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FrdV0mwA7iy2c3I7wu5BX%252Fuploads%252FeHZ8iTsAi1cDU6g59Ryo%252Fimage.png%3Falt%3Dmedia%26token%3D8325b8a9-6efb-4bc0-8eb3-bffae03aaee4&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=20396667&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Una volta fatto:

* modifica il codice JSON del campo che hai inserito;

<figure><img src="https://4252442743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrdV0mwA7iy2c3I7wu5BX%2Fuploads%2FCPEU350itaHBezeSQbvr%2Fimage.png?alt=media&amp;token=aefa5051-e756-48ef-b47e-44952e82c077" alt=""><figcaption></figcaption></figure>

* inserisci il seguente codice:

```json
{
  "label": "unique_id",
  "calculateValue": "value = data.applicant.data.fiscal_code.data.fiscal_code",
  "key": "unique_id",
  "type": "hidden",
  "input": true,
  "tableView": false
}
```

Il controllo può essere effettuato anche sul nested form beneficiario.

In quel caso dopo aver inserito il nested OC-Beneficiario nel modulo il codice del campo `unique_id`  può essere modificato nel seguente modo.\ <br>

```json
{
  "label": "unique_id",
  "calculateValue": "value = data.beneficiary.data.tax_id",
  "key": "unique_id",
  "type": "hidden",
  "input": true,
  "tableView": false
}
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.opencityitalia.it/stanza-del-cittadino/guida-alla-creazione-dei-servizi-digitali/creare-un-servizio/le-funzioni/impedire-linvio-di-piu-domande.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
