# Documents signed at registration

When someone registers — as a tandem passenger or onto a course — PiGi creates the compliance documents their activity requires and stamps them with the signature captured on the registration form, then renders the signed PDFs in the background. What is missing at that moment (a witness, a guardian, a code) has to be finished afterwards.

Source: https://help.pigi.io/guides/compliance/documents/documents-at-registration

## Quick answers

**Does registering a student create their compliance documents?**
Yes. A tandem registration creates the documents required by the tandem flight and its
flying site; a course registration creates the documents required by that course. Both
are stamped with the signature captured on the registration form.

**Which signature is used?**
The one drawn on the registration form. It is stored as a hosted image, not embedded in
the document, so the same signature is reused on every document in that registration.

**What state are those documents in straight after registration?**
Signed by the student but not finished — they sit at "Signing…" while the PDFs render,
and any witness, guardian or place-of-signing value that was not collected on the form
still has to be added.

**Why did a course registration not generate anything?**
Three common reasons: the course has no compliance requirements; the registration was
not flagged as a course registration; or the requirement's template is missing.

**Why did my tandem passenger get enrolled on a course once?**
That was the bug this rule now prevents. A course reference left over in the URL used to
ride along on a tandem registration. PiGi now only enrols when the registration itself
says it is a course registration.

**Where do I see the documents afterwards?**
On the student's course **Docs** section (course registrations) or the tandem flight's
edit page (tandem registrations). Both show a per-document status and a **Sign N
pending** button.

**A student registered before I added the requirement — what now?**
Open the course, go to the **Compliance** tab, and press **Backfill compliance docs**.
It generates the missing documents for everyone on current and upcoming runs and is safe
to run repeatedly.

**What if the code pool was empty at registration?**
The permit or indemnity is skipped entirely — the student has no document rather than an
unusable one. Order codes, then use **Backfill compliance docs** to create what was
missed.

**Do students sign your terms and conditions at registration too?**
Terms, privacy policy and similar are **legal documents**, a separate system from
compliance documents — they are versioned company-wide and published, not generated per
person. See "Legal documents".

**Does the student get a copy?**
PiGi sends a completion email with a link to the rendered PDF when each document
finishes, addressed to the contractor, then the instructor, then the student — the first
address it can resolve.

## What this is

Registration is the main moment compliance documents come into existence. Rather than
asking a student to sign again later, PiGi reuses what the registration form already
captured and produces the paperwork immediately.

Two paths exist and they behave the same way:

- **Tandem** — requirements attached to tandem flights, plus any attached to the flying
  site being flown.
- **Course** — requirements attached to the course being enrolled on, anchored to that
  enrolment so the same student on two courses gets two sets.

## Steps

1. Set the requirements up first — see "Require a document on a course or site".
2. Make sure you hold codes for any permit or indemnity that consumes one.
3. Register the student. The registration form captures the signature (and, where the
   form asks for them, the witness and guardian).
4. Open the student's course **Docs** section (or the tandem flight page) and watch the
   rows flip from "Signing…" to **Signed**.
5. Finish anything still pending with the signing wizard.

## Known limitations

- **Skipped documents are silent at registration.** A missing template or an empty code
  pool means the document is simply never created; nothing warns the person registering.
- **If the PDF fails to generate, the row stays at "Signing…"** with no error shown.
- **Self-registering students are not taken into signing.** Their documents are generated
  and signature-stamped automatically, but they are not redirected into the wizard — staff
  complete the witness and guardian parts afterwards.
- **The witness on a registration is whoever the form captured**, which in practice is
  often the instructor; the standalone signing wizard is where an independent witness is
  properly recorded.

## Related

- [Require a document on a course or site](compliance-requirements.md)
- [Sign compliance documents](signing-documents.md)
- [Legal documents](../company-setup/legal-documents.md)
