Skip to content
Docs
  1. Docs
  2. Variables
  3. Variables overview

Variables

Variables overview

Variables turn a fixed snippet into a template: today’s date, a name you fill in, a choice, a total, or your clipboard.

On this page

How variables look#

A variable is a keyword inside double curly braces. Some take a value after a colon, and options are separated by a vertical bar |:

{{date}}
{{date:DD/MM/YYYY}}
{{pick:Greeting|Hello|Hi|Hey}}

Type variables yourself or click one in the editor’s Variables panel to insert it at the cursor. Then rename labels such as “Customer” or “Greeting” to suit your snippet.

The Variables panel scrolled to the Pro variables: date shift, weekday, paragraph field, toggle, clipboard uppercase, random number, unique ID and more.
The Variables panel lists every variable. Pro variables carry a PRO badge.

All variables#

VariableWhat it insertsPlan
{{date}} {{time}} {{datetime}}Today’s date and time, in any formatFree
{{dateshift:+3d}}A date before or after todayPro
{{weekday}}Today’s weekday namePro
{{datefield:Due date}}Pick a date when insertingPro
{{name:Customer}}Ask for a value when insertingFree
{{name:Customer|Friend}}A field with a default valueFree
{{pick:Greeting|Hi|Hello}}Choose one option from a listFree
{{multipick:Extras|A|B}}Tick any number of optionsPro
{{text:Notes}}A multi-line answerPro
{{toggle:Signature|…}}Include or skip a sectionPro
{{=Qty*Price}}Calculate from your fieldsPro
{{if:Qty>10|…|…}}Insert text only when a condition is truePro
{{clipboard}}The text you copiedFree
{{clipboard:upper}}Copied text in upper, lower or title case, or trimmedPro
{{cursor}}Where the cursor goes after insertingFree
{{a|b|c}}One option chosen at randomFree
{{random:1-100}}A random whole numberPro
{{uuid}}A new unique IDPro
{{number:1234.5}}A number formatted for your localeFree
{{email}}Your account email addressPro
{{note:…}}A note shown in the form, never insertedPro
{{snippet:;sig}}Include another snippet by its shortcutPro

The fill-in window#

When a snippet contains fields (name, pick, multipick, text, toggle or datefield), LazyBoard opens a Fill in snippet window before inserting. The fields appear inside your text, so you see the message as you complete it. Press Copy or Insert to finish, or Cancel to insert nothing.

The fill-in window for an Order update snippet with Sam in the name field, #48213 as the order number and today chosen in a dropdown.
Fields appear in place, inside the text of the snippet.

Snippets with only automatic variables, such as {{date}} or {{clipboard}}, insert straight away.

Rules for fields#

  • Same label, same answer. A field label used twice is asked once and filled in both places. Give fields different labels to ask twice.
  • Labels can be 1–100 characters and can include spaces and any language.
  • A snippet can have at most 20 different fields.
  • Answers are inserted as plain text. Typing {{date}} into a field, or copying it, inserts those characters literally.
  • An expanded snippet can be up to 100,000 characters.
  • Text in braces that isn’t a variable, like {{unknown}}, is left exactly as written. Shell scripts with ${HOME} are safe too.

Variable groups#

Phone keyboard syntax#

Snippets imported from the original LazyBoard phone keyboard keep their single-brace variables. They are all Free:

Phone syntaxMeaning
{Customer}A field to fill in, like {{name:Customer}}
{issue|feedback|idea}A list to choose from (not random), labelled Choice 1, Choice 2…
{Regarding?issue|feedback|idea}A list with the label “Regarding”
{date}Today’s date, like {{date}}
{DATE: dd.MM.yyyy}Today’s date in a phone date format
{DATE*: dd MMMM yyyy}Pick a date when inserting
%CLIPBOARD% %CURSOR% %tab-key%Clipboard, cursor position and a tab character

Phone syntax Free

Hi {Customer}, thanks for your {Regarding?issue|feedback|idea}!
Sent {DATE: dd.MM.yyyy}

You fill in

Customer
Sam
Regarding
feedback

Result

Hi Sam, thanks for your feedback!
Sent 08.09.2026