A quick reference of the keyboard shortcuts, special commands and actions in Lawlift.
Keyboard shortcuts
| Shortcut | Effect |
|---|
Ctrl + Enter (in a paragraph) | New line within the paragraph, without larger spacing |
Enter (in a paragraph) | New paragraph |
Ctrl + Z (in the element) | Undo the last action |
Ctrl + Space / Shift + Space | Non-breaking space (shown as °) |
Ctrl + Alt + T (Windows) · Ctrl + Shift + T (Mac) | Change the question type |
Commands
Grouped by topic so each command is easier to place.
Text & structure
| Command | Effect |
|---|
::smallcaps[Text] | Small caps in continuous text |
::pagebreak (heading/paragraph) | Page break (not in or under hidden headings) |
::restartnumbering (heading only) | Numbering restarts from this heading [BETA] |
::customstyle[name] | Assign a paragraph/heading to a Word style from the letterhead [BETA] |
Calculations & variables
| Command | Effect |
|---|
::variable[NAME] · ::var[] · ::v[] | Declare a variable for calculations |
::calculate[FORMULA] · ::calc[] · ::c[] | Insert a calculation formula |
fraction(n) | Number of decimal places, e.g. ::c[a+b fraction(2)] |
decimal(comma/point) | Decimal separator comma or point |
thousands(comma/point/space) | Thousands separation |
words(n) | The number in words up to a maximum of n |
variable(name) | Store a calculation result as a new variable, e.g. ::c[a+b variable(sum1)] |
Placeholders & dates
| Command | Effect |
|---|
::ph[] | Create a placeholder on the text page |
::ph[enumerate(", "," and ")] | Placeholder from a multiple-choice question; the brackets define how items are listed |
::ph[format(DD.MM.YYYY)] | Format a date placeholder (see Date field) |
::today | In a date field: show today’s date by default |
Publishing & conditions
| Command | Effect |
|---|
::donotpublish · ::dnp | Hide an element in the publishing solution |
::default | Set a default answer at document generation |
::url[URL title(Name)] | Insert a URL (title optional for a different display name) |
[A-Za-z0-9] | In the rule window (semantic rule on a text field): require certain characters as a condition |
[.] | With the “contains” condition: require any entry as a condition |
Actions
- Force a module update: hold Shift while clicking Execute during a module update - this updates all fields, even ones that a template change would normally lock. [BETA]
- Convert an inline rule to plain text: navigate to the inline rule with the keyboard (until it’s outlined) and press Backspace.