Checklist for Building Complex Forms

A step-by-step checklist for long forms that fill a wiki template and make a PDF, such as a will, an onboarding pack or an incident report.

Help Centre › Forms & Data

Use this checklist when a form is long, feeds a wiki template, or must produce a correct document every time. The basics of building a form are in Working with Forms.

1. Know what the form is for

Before you build, answer these:

  • Who fills it in, and what do they need to know?
  • What document must come out, and where is it saved?
  • Which answers change the document, and how?
  • Does anyone need to act on it afterwards? If so, link a queue.
FormPurpose
WillCapture estate details and beneficiaries to produce a will
Leave applicationCapture leave dates and type for a manager to approve
Employee onboardingCollect HR, bank, tax and contact details
Expense claimCapture expenses with receipts
Incident reportRecord a workplace safety incident

2. Plan the sections

Group questions so each section covers one topic. For a will, for example: Testator details, Marital status, Children, Beneficiaries, Executors, Guardianship, Special instructions. Type them one per line when you create the form.

3. Name the variables early

Every answer the document uses needs a Variable. Use letters, numbers and underscores only, no spaces, and make the name say what it holds.

primary_beneficiary_name
leave_start_date
expense_total
has_children

Avoid names like q1, val or test.

4. Pick the right question type

  • People: Textbox, E-mail address, Telephone number.
  • Dates: Date, Time.
  • Yes or no: Switch, or Multiple choice (only one answer).
  • Lists: Dropdown list, List box, Multiple choice (multiple answers).
  • Money: Numerical textbox with a prefix such as R.
  • Long text: Comment box.
  • Receipts and documents: File upload.
  • Repeating rows, such as beneficiaries or expenses: Table.

5. Hide questions that don't apply

Use Enabled if conditions on a question so people only see what applies to them. Ask for guardians only when there are children under 18; ask for a spouse's name only when married.

6. Make the document change with logic, not AI

Put the rules in the wiki template with logic. Logic gives the same answer every time, and you can test it.

{IF:has_children}
  GUARDIANSHIP ...
{/IF}

{IF:beneficiary_gender="Female"}her{ELSE}his{/IF}

{EACH:beneficiaries}
  I leave {.share} of my estate to {.full_name}.
{/EACH}

Totals and checks, such as adding up expenses or testing that leave ends after it starts, are calculated fields. Read Wiki logic: making a document change itself and Show or hide parts of a document.

Keep AI for wording only, such as a plain-English summary of an incident. An AI block opens and closes:

{AI: Write a two-sentence summary of the incident from the details given.}{/AI}

AI only runs when Use Artificial Intelligence is on and the form has an AI Prompt.

7. Link the template, folder and file name

  • Under Related, pick the wiki template and the folder for the PDFs.
  • Set Save as with variables, for example leave-{employee_id}-{leave_start_date}.
  • Set a Password if the PDF holds personal data, for example {id_number}.
  • Link a queue if someone must act on each submission.

8. Mark only what you need as required

Make a question required only when the document can't be made without it, or the law needs it. Everything required is one more reason for people to give up.

9. Test with real cases

Submit test forms that cover each path. For a will: married with children, married without, single with one beneficiary, divorced with several, guardianship needed. For expenses: several receipts, a missing receipt.

Then open the wiki and preview it against a test submission. The Diagnostics panel lists missing variables, calculated-field errors and template warnings. Many warnings have a Fix button.

Check that:

  • Every variable is filled in.
  • Sections that should disappear do.
  • The PDF layout reads well. If you pasted from Word, open the wiki's Build tab, click Advanced and switch on the clean-up options before you save.
  • The file name comes out right.

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.