# การตั้งเงื่อนไขเข้า Module (prerequisites & requirement)

ภายในระบบ Mango ผู้สอนสามารถเพิ่มเงื่อนไขในการเข้าทำกิจกรรมภายใน Module ของคอร์สเรียนได้ด้วยตนเอง เพื่อให้ผู้เรียนน้นสามารถเข้าถึงเนื้อหาได้โดยครบถ้วนและไม่ตกหล่น Module ใดไป&#x20;

โดยการทำงานของการตั้งเงื่อนไขบนระบบ Mango จะแบ่งเป็น 2 ชนิดคือ&#x20;

* Prerequisites คือข้อกำหนดเบื้องต้นว่า Module(s) ใดที่ผู้เรียนจะต้องทำให้เสร็จเรียบร้อย ก่อนจะไปยัง Module ถัดไป ซึ่งการตั้งค่าส่วนนี้จำเป็นต้องมี Module มากกว่า 1 Module ขึ้นไป เพื่อให้ผู้เรียนทำไปตามลำดับขั้น
* Requirements คือการระบุ Module และสิ่งที่ผู้เรียนจะต้องทำทำกิจกรรมภายใน Module นั้นให้เรียบร้อย จึงจะถือว่าเสร็จสิ้นขั้นตอน

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FY5MDxRr4Ow1fwT76RIjB%2Fimage.png?alt=media&#x26;token=98cb102c-d46b-490e-ac4c-c4959042568e" alt=""><figcaption><p>ตัวอย่าง Module ที่ถูกตั้ง Prerequisites และ Requirements</p></figcaption></figure>


---

# 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/cmucanvas-manual/course-design/module-prerequisites-and-requirement.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.
