---
title: "5.5 One-round signing with PDF with signature acrofields"
description: "In this example the PDF document has already been inserted: - Signature acrofields - Other active elements, like - Text field - Date field - Check box There is no need to set the state of the document to “tags”…"
url: "https://wiki.signatus.com/documentation/okdokument-api/5-5-one-round-signing-with-pdf-with-signature-acrofields/"
updated: "2025-03-21"
category: 5. Configuration of the signing process
---

# 5.5 One-round signing with PDF with signature acrofields

In this example the PDF document has already been inserted:

- Signature acrofields
- Other active elements, like
  - Text field
  - Date field

  - Check box

There is no need to set the state of the document to “tags” in *filedata array*, because the document already contains signature acrofields. The state of the document should be set to “tosgin”.

For this example, one-round signing there is no need to define which signature field should be available = they all are available.

OKdokument API provides functionality to pre-filled active elements. This is done via array *fieldConfig*. In our example values:

- firstName, lastName – are pre-filled, signer can change them
- date – is pre*filled, signer can’t change the value of the date
- checkBox1 – is checked, signer can’t uncheck it

Note: name of the active elements must be the same as in the PDF (technical name of the acrofield)

```
{
    "signatureRequestId": "1d58a59e-e8f7-4d07-bb99-d3fa39cb58a8",
    "expirationTime": "1702288000000",
    "sendInfoURL": "http://api.okdokument/info",
    "resulturl": "https://okdokument.com/",
    "rules": {
        "signAnywhereEnabled": false
     },
    "fieldConfig": [
        {
            "name": "firstName",
            "value": "Jozef",
            "readOnly": false
        },
        {
            "name": "lastName",
            "value": "Novák",
            "readOnly": false
        },
        {
            "name": "date",
            "value": "31.12.2022",
            "readOnly": true
        },
        {
            "name": "checkBox1",
            "value": "1",
            "readOnly": true
        }
    ],
    "filedata": {
        "content": "xyz_JVBERi0xLjc==",
        "state": "tosign"
    }
}
```
