> For the complete documentation index, see [llms.txt](https://docs.tlic.cmu.ac.th/cmumoodle-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tlic.cmu.ac.th/cmumoodle-manual/activities/questionnaire/text-box.md).

# Text Box

{% hint style="info" %}
ส่วน **Question Name** คือส่วนสำหรับระบุให้กับตัวท่านเอง ว่าคำถามนี้เป็นคำถามเกี่ยวกับอะไร นักศึกษาจะไม่เห็นข้อความในส่วนนี้

ส่วน **Question Text** คือส่วนที่แสดงผลให้นักศึกษาเห็น&#x20;
{% endhint %}

## การตั้งค่าคำถามแบบ Text Box

ค่าเริ่มต้นคือ 20 ตัวอักษร และกล่องขนาด 25 ตัวอักษร อย่างไรก็ตามท่านสามารถกำหนดตัวเลขเหล่านี้ได้ด้วยตัวเอง

จากตัวอย่าง ทำการปรับเป็น

### Input box length

ค่าเริ่มต้น 20 ท่านสามารถแก้ไขจำนวนตามที่ท่านต้องการได้

### Max. text length

ค่าเริ่มต้น 25 ท่านสามารถแก้ไขจำนวนตามที่ท่านต้องการได้

![](/files/FecxFGN7MbxACFzm7QCl)

## Manage Questions&#x20;

เมื่อสร้างคำถามเรียบร้อย ในหน้า Manage Questions จะปรากฏข้อมูลคำถามแบบ Text Box ที่ท่านทำการสร้างดังภาพประกอบด้านล่าง&#x20;

![](/files/ye8oHVIJkhkcTT9ysbqu)

## การแสดงผล Text Box

กรอกได้ 30 ตัวอักษรตามที่ตั้งค่าไว้

![](/files/dPgUI2lB2OnChMvTGnQw)


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.tlic.cmu.ac.th/cmumoodle-manual/activities/questionnaire/text-box.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
