# Custom Enrollment Page

### **Instructions:**

1. **Add a Text Area field**:
   * Navigate to <mark style="background-color:yellow;">Site administration - Courses - Default settings - Course custom fields</mark>.
     * **Shortname:** enrolldesc (Keep this name unchanged.)

       **Name:** "Custom description on enrollment page" (or similar)
   * Include a custom field visible only on the enrollment page.

<figure><img src="/files/x7v5OwPFZvPF5oTJhROE" alt=""><figcaption></figcaption></figure>

**BAZ Demo page (Enrollment page preview)** <https://baz.rosea.dev/enrol/index.php?id=4>

### **How to Find the Enrollment Page URL**

To locate the enrollment page for a specific course, use the following URL format:

```
[YourSiteURL]/enrol/index.php?id=[CourseID]
```

1. Replace `[YourSiteURL]` with the domain name of your site.
2. Substitute `[CourseID]` with the ID of the course you wish to enroll in.

This will direct you to the enrollment page for that course.


---

# 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://rosea.gitbook.io/baztheme/getting-started/custom-enrollment-page.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.
