# Drag and drop into text

![](https://2649047203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhgAajPiLrNz_Cq2Qbp%2Fuploads%2FCNXGjaWsWZlsYj2aAueH%2Fimage.png?alt=media\&token=680ee874-9f96-4cc1-80ec-5546777cee11)

คำถามประเภทนี้จะเป็นการลากตัวเลือกใส่ในช่องว่างของโจทย์ คล้ายกับการทำข้อสอบประเภท gapfill แต่จะเน้นเป็นโจทย์ประเภทเรียงความมากกว่าที่จะเป็นโจทย์แบบประโยคหรือวลีสั้นๆให้น.ศ.อ่าน

### การสร้างโจทย์ใน Drag and drop into text

![](https://2649047203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhgAajPiLrNz_Cq2Qbp%2Fuploads%2F1Dd7gswIiXgydLE27PVM%2Fimage.png?alt=media\&token=49a038c1-adbf-46d2-88a8-202d770e5bd6)

เพิ่มโจทย์ลงในช่อง Question text โดยสามารถปรับแต่งตังอักษรและรูปแบบได้ตามที่อาจารย์ต้องการ และใช้เครื่องหมาย '\[\[n]]' (แทน n ด้วยตัวเลขลำดับของตัวเลือก)

### Choice

![](https://2649047203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhgAajPiLrNz_Cq2Qbp%2Fuploads%2FUJh0e6x6HjMz0N3LGZRo%2Fimage.png?alt=media\&token=495261d5-911d-4f7f-a2a2-2336590bd216)

* Choice \[\[n]] การเพิ่มตัวเลือก สามารถใส่ตัวเลือกตามลำดับตัวเลขที่ใส่ในเครื่องหมาย '\[\[n]]' ได้เลย โดยสามารถใส่ตัวเลือกให้มีมากกว่าจำนวนของช่องที่มีในโจทย์ได้ด้วย นอกจากนี้อาจารย์ยังสามารถเปิดฟังก์ชั่น Shuffle เพื่อสุ่มลำดับของตัวเลือกดังกล่าวนี้ได้ด้วย

{% hint style="info" %}
Format  ![](https://2649047203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhgAajPiLrNz_Cq2Qbp%2Fuploads%2FmlCTsqoph4SWy3XXjp5b%2Fimage.png?alt=media\&token=7642795e-4c91-4132-8af7-b530d587bc33)สามารถใช้กับตัวเลือกของคำถามประเภทนี้ได้
{% endhint %}

* Group ใช้สำหรับตั้งค่ากลุ่มของคำตอบ คำตอบที่อยู่ในกลุ่มเดียวกันจะมีกรอบตัวเลือกและช่องว่างที่เป็นสีเดียวกัน
* Unlimited ข้อที่เปิดฟังก์ชั่นส่วนนี้ไว้จะสามารถลากไปวางในช่องว่างได้มากกว่า 1 ช่อง(ใช้ในการตอบได้มากกว่า 1 ครั้ง)

![ตัวอย่างโจทย์แบบ Drag and drop onto text](https://2649047203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhgAajPiLrNz_Cq2Qbp%2Fuploads%2FP1QM89Ss2A32dMwjuHu0%2Fimage.png?alt=media\&token=cb08c18c-cb7a-419f-895c-bc73fcca2aca)


---

# 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://docs.tlic.cmu.ac.th/cmumoodle-manual/quiz/creating-quiz/question-type/drag-and-drop-into-text.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.
