> For the complete documentation index, see [llms.txt](https://tailieu.appon.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailieu.appon.vn/huong-dan-co-ban/basic-use-block/su-dung-chuc-nang-block-checkbox.md).

# Checkbox

**Checkbox** là tính năng tạo ra các tuỳ chọn cho người dùng và họ có thể chọn nhiều lựa chọn dùng để tạo câu hỏi khảo sát,... \
Bạn lưu ý, **checkbox** luôn phải kèm theo **Model** để lưu trữ dữ liệu người dùng.

#### Dưới đây là các bước để bạn có thể tạo ra 1 Checkbox

Bước 1: Tạo 1 Model để lưu trữ dữ liệu người dùng. \
Ở giao diện **Appon** chọn Dữ liệu -> Thêm trang tính -> Nhập tên dữ liệu -> Thêm. \
Sau khi tạo xong Model bạn bấm vào Model đó thêm những các trường cần thiết.

![Tạo model lưu trữ dữ liệu](/files/zliog78rXZoJiQSEFBNK)

Bước 2: Bạn vào phần **Khối** -> kéo xuống tới mục **Selection** -> kéo biểu tượng **Checkbox** ra màn hình bạn muốn tạo.

![Kéo checkbox ra sử dụng](/files/FnZDMIRNB26rJZfMgcjn)

Bước 3: Cấu hình cho **Checkbox :**\
Bấm vào **Checkbox** muốn cài đặt cấu hình -> chọn "Hành động" \
\- Text: Là phần hiển thị thông tin của **Checkbox**\
\- Tên nhóm : Là tên của 1 nhóm **Checkbox**\
\- Giá trị : Là phần thông tin trả về ( thông thường phần giá trị sẽ để giống phần text)\
\- Gán giá trị cho model : Để lưu trữ dữ liệu của **Checkbox**\
&#x20;  Chọn -> Click đúp vào model vừa tạo -> chọn trường lưu trữ.

![Cấu hình cho checkbox](/files/SBIwZQSAdcAtuHihqDG5)

Bước 4: Publish và kiểm tra tính năng.

![Kết quả chọn được hiển thị](/files/WsxtSlYLGADZqiB5Li2E)


---

# 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://tailieu.appon.vn/huong-dan-co-ban/basic-use-block/su-dung-chuc-nang-block-checkbox.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.
