> 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/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.

Trascina un componente [Textfield](/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="/files/8uCAWUfmBOzgZvyTLO9N" 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
}
```


---

# 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:

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

The question should be specific, self-contained, and written in natural language.
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.
