# Form config

Đây là khu vực cấu hình chung cho form

> **Form Name**: Tên của form
>
> **Form** **Color**: Màu của form
>
> **Cache Form**: Bạn có muốn lưu trữ lại thông tin nếu khách hàng mở lại form lần sau.
>
> * Don't cache: Không lưu dữ liệu
> * Cache before and after submit: Lư dữ liệu trước và sau khi submit form
> * Cache and reset after submit: Lưu dữ liệu và xóa sau khi submit form.

When submit done: Gọi các sự kiện khi khách hàng ấn vào nút gửi thông tin (submit)

> **JavaScript**: Cài đặt mã nhúng vào form (Sử dụng cho nhà phát triển sâu)
>
> **Show Notification**: Hiển thị thông báo (VD: đã thành công)
>
> **Close Messenger Webview**: Tính năng này khi bạn sử dụng form trong chatbot khi khách hàng ấn gửi thông tin thì form (popup) sẽ tự động đóng lại.
>
> **Redirect to URL**: Chuyển tiếp tới 1 website khác sau khi khách hàng ấn gửi thông tin (ko sài đc trên messenger bot)

![Form Config](https://i.imgur.com/0D9xK3P.png)


---

# 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.botplus.io/webview/cac-loai-webview/form-builder/form-config.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.
