Parsware
All articles

Model-driven apps

Notes and labels on a form

A note is fixed text on a form, like a heading, an instruction or a warning, written in Markdown and shown beside the fields it's about. Here is how to add one, what it can contain, and why it can't be used to slip markup into a form.

A form section in dark mode with a note above its fields, headed "Before you save", with bold text, an orange amount and an email link, next to the title "Notes and labels on a form"

Some forms need a sentence of explanation. Which invoice figure goes in the cost field? Who needs to approve a big purchase? Where do people ask? Help text under one field answers a question about that field. A note answers a question about the form.

We'll add one to the Purchasing form from Forms that fit the job. Every picture is the real product.

Add a note

In the Form Designer, every section ends with Add note. Press it, and a note is placed in the section and selected. Type its text in Text (Markdown) on the right, and the Preview underneath shows exactly what the form will show:

The Form Designer with a note selected in the Cost section, above Purchase Date and Purchase Cost; on the right its Markdown text and a Preview with the heading Before you save, bold words, an orange £2,000 and an Email purchasing link

A note is placed like a field, so drag it to where it should be read. This one sits above the fields it's about. Save the form, and there it is on the record:

The Purchasing form on the ThinkPad X1 Carbon record: the Cost section opens with the note Before you save, then Purchase Date and Purchase Cost

What a note can contain

The text is Markdown, a small and safe part of it:

Write To get
### Before you save a heading: # big, ## medium, ### small
**cost**, *approx.* bold and italic
- Anything over… a bullet list
[Email purchasing](mailto:purchasing@example.com) a link, opened in a new tab
{color:orange}£2,000{/color} coloured text, by name or #hex

The note above is this:

### Before you save
Copy the **date** and the **cost, before VAT** from the supplier's invoice.
- Anything over {color:orange}£2,000{/color} needs a manager's approval first.
- Questions? [Email purchasing](mailto:purchasing@example.com)

A heading needs a space after the #. A blank line starts a new paragraph.

The note in the form's document

A note is a placement with no field behind it. In the form's document it sits in the section's list of fields, in the order you dragged it to, and carries its text:

{
  "title": "Cost",
  "fields": [
    {
      "controlType": "Label",
      "controlProps": {
        "labelText": "### Before you save\nCopy the **date** and the **cost, before VAT** from the supplier's invoice.\n- Anything over {color:orange}£2,000{/color} needs a manager's approval first.\n- Questions? [Email purchasing](mailto:purchasing@example.com)"
      }
    },
    { "field": "con_purchasedate" },
    { "field": "con_purchasecost" }
  ]
}

Because it is part of the form, it changes only when the form does, and it travels with the form to Test and Production. A note on the Purchasing form doesn't appear on the Information form; each form says what its own readers need.

A note, helper text, a description or a guide?

Parsware has four places to put words that explain something, and each answers a different question. Picking the right one keeps forms short and the explanation where people look.

Words Where they appear Use it for
Helper text on a field One short line under that field, on this form Include the country code, Leave blank to use the account's address
A note A block among the fields, where you place it A rule that covers several fields, a warning, who to ask
The form's description Under the record's title, on every record One sentence saying what the record is
A guide In a side pane, opened when wanted Step-by-step instructions for a whole task

Helper text belongs to one field and moves with it when the field is dragged elsewhere on the form. It is plain text, one line, because it sits in the field's own space. A note is the opposite: free-standing, formatted, and placed on purpose. A guide in the side pane covers the fourth kind, which is the right home for anything longer than a few lines.

Notes worth copying

A few notes that earn their place on real forms, ready to adapt:

Before a decision. On a form a manager uses to approve a request:

### Before you approve
Check the **amount** against the budget line's remaining figure on the right.
- Over {color:#dc2626}£10,000{/color}? It goes to the finance director next, whatever you decide.

Data protection. On a contact form that records personal details:

Only record what the customer has agreed to share. If they ask what we hold,
[read the policy](https://example.com/privacy) and email privacy@example.com.

Where the number comes from. Above a field people often fill in wrongly:

Use the **net** figure from the supplier's invoice, not the quote. VAT is added on the invoice record.

Who to ask. At the end of a long form:

Stuck? Ask the purchasing team on extension 4410, or [email them](mailto:purchasing@example.com).

Writing notes people read

A note is read in passing, by somebody who came to fill in a field, so it has a few seconds to say something useful.

  • One idea per note. Two short notes in two sections are read; one long note is skipped.
  • Say what to do, not what the form is. Copy the cost from the invoice beats This section contains the cost information.
  • Put it above the fields it is about. People read down; a note below the fields arrives after the mistake.
  • Use colour sparingly, and never alone. Coloured text draws the eye, but some readers can't tell colours apart, so the words must carry the meaning too: over £2,000 in orange, not only an orange number.
  • Use headings for structure, not for size. A ### heading tells a screen reader that a new part starts. It isn't a way to make text bigger.
  • Link to the rule, not a copy of it. If the approval limit is in a policy, link to the policy. When the limit changes, the note doesn't need to.

Notes and other languages

A note's text is what you typed, and it is shown as typed, in every language the platform is opened in. The platform translates its own words, the buttons, menus and messages; it doesn't translate a maker's. For an application used in English and Persian, either write each note in both languages, one under the other, or make a form for each audience. Building for more than one language discusses the choices, and Persian and Arabic, right to left how a right-to-left form is laid out. A note in Persian lines up from the right, like everything else.

A purchasing form, before and after

The Purchasing form in this article started as two fields, Purchase Date and Purchase Cost, and three questions the purchasing team answered by email every week:

  1. Which figure do I copy, the quote or the invoice?
  2. Does it include VAT?
  3. Does a big purchase need approval before I record it?

Each answer used to live in somebody's inbox. After the note, all three are on the form, above the two fields they are about, in four lines. Nobody had to change a field, a rule or a process, and the weekly emails stopped. That is the test of a good note: it removes a question people were asking.

If a question keeps coming up even with the note there, the note is probably the wrong tool. A value that must not exceed a limit needs a rule that refuses it, as Add a server validation rule shows; a step that must happen first needs a process. A note explains; it doesn't enforce.

Questions that come up

Can a note show a value from the record? No. A note is fixed text, the same on every record. To show a value, place the field itself, read-only if it shouldn't be changed.

Can a note change with the record, for example appear only when the status is Rejected? A note is part of the form's layout, so it is always there. For text that depends on the record, use a field whose value a rule fills in, or show and hide a field with a client business rule.

Can a link in a note open another record? A link to a page inside the platform works, and opens in a new tab, so people don't lose the form they are on.

Where do I set helper text for a field? On the field's placement in the Form Designer: select the field on the form and fill in Helper text in the properties on the right. It is one plain line, shown under the field on that form.

Safe by design

A note never runs anything. The platform builds the formatting from the text itself and ignores any HTML or script in it, and only ordinary links (http, https, mailto and links inside the platform) become clickable. Anything else is shown as plain text. A note can't be used to put markup or code into somebody's form.

It isn't a field either. It stores nothing on the record and asks nobody for anything. It's part of the form's document, so it moves with the form in its solution.

Next: choosing the control a field uses, such as toggles, pickers, Persian dates and custom controls.