# Input / Textarea

Sử dụng **Input** hoặc **Textarea** để khách hàng nhập dữ liệu. Bạn cần lưu ý, mỗi một Input hay Textarea cần phải có **Model(Dữ liệu)** kèm theo để lưu và sử dụng dữ liệu khách hàng đã nhập.

Việc sử dụng **Input** hoặc **Textarea** trong Appon để khách hàng nhập dữ liệu,sử dụng để khách hàng nhập họ và tên, số điện thoại, yêu cầu hay ghi chú,....&#x20;

* Lưu ý : **Input** là nhập 1 dòng văn bản thường sẽ để nhập Tên , Số điện thoại. Còn **Textarea** là 1 đoạn văn bản từ 2 dòng trở lên thường dùng để ghi lại yêu cầu, mong muốn,ghi chú  của khách hàng, hoặc là đoạn văn bản nào đó dài hơn 1 dòng.
* Mỗi **Input** hoặc **Textarea** phải cần có 1 Model(Dữ liệu) đi kèm để lưu lại và sử dụng giá trị mà khách hàng nhập.

Để sử dụng **Input** và **Textarea** bạn vào Appon >> chọn **Block** và kéo **Input** & **Textarea** ra phần chỉnh sửa giao diện

![](/files/nETRY19ZlSDKlOtgpTeq)

Để lưu giá trị **Input** hoặc **Textarea** vào **Model(Dữ liệu)** bạn chọn vào đối tượng cần lưu >> chọn "Hành động" >> tại phần "Thiết lập dữ liệu" ấn "chọn" và lựa chọn **Model(Dữ liệu)** bạn muốn lưu vào.

![](/files/md5aslxbh7GZJ1KB72f1)


---

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