# Checkbox Multi Selection

Penggunaan tipe input ini untuk merender formulir atau input dalam aplikasi web, terkhususkan untuk dynamic-form. Tipe data dalam hal ini yaitu "checkbox-multiselect", pengguna bisa memilih beberapa kondisi dengan melakukan checklist pada box label yang disediakan. Contoh dalam beberapa field pada form berikut :&#x20;

<figure><img src="https://4009479446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FELbr94H26l2v1l9CCypT%2Fuploads%2FGji2SklcipxwDok2gjKs%2Fimage.png?alt=media&#x26;token=ff77e63c-5dcf-4b35-9cd1-b142513da89f" alt=""><figcaption></figcaption></figure>

```json
"dynamicForm": [
        {
          "fieldName": "penyakitKeluarga",
          "fieldLabel": "Riwayat Penyakit Keluarga",
          "size": 12,
          "type": "checkbox-multiselect",
          "tooltip": "Widget Access will showing on Main Dashboard. This setting can be different for each role.",
          "dataFrom": {
            "value": [
              {
                "label": "Asma",
                "value": 1
              },
              {
                "label": "Alergi",
                "value": 2
              },
              {
                "label": "Pilek",
                "value": 3
              }
            ]
          }
        },
        {
          "fieldName": "Jtrans",
          "fieldLabel": "Jenis Transaksi",
          "size": 12,
          "type": "checkbox-multiselect",
          "dataFrom": {
            "api": "https://sdfipskodokapi.co.id/jstrans",
            "resp_key": "data",
            "field_label": "nama",
            "field_value": "id",
            "field_label_separator": " | "
          }
        }
      ]
```

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeQpqj8gMg48RkdTX2lQJ38rJ0ZzyeAvWgJ_AYvFZY0Gks-IKlshXTzfF1RRG68p3ByM_1RX-uCCEJYTBQWZ367kqcfQf_U370Zc8u1ML8Sr344tDLZUXZDCgjKMfVJZhHGyOHnneLevpfq7jw04yveKMMu?key=6ee0da6hpiCeFO7AiPmzog" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://saba-framework.gitbook.io/saba-framework-documentation/examples/dynamic-form/input-type/checkbox-multi-selection.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.
