Forms
Forms are a Premium feature. Upgrade your account
Add form fields to your templates, and fill them in before the template is inserted.
Let's say you have a template for confirming a meeting. The greeting, the signature, and most of the text are the same every time, but the date, the time, and the meeting link change. Instead of inserting the template and then looking for the parts to edit, you can add form fields for them. When you insert the template, Briskine asks you to fill them in first.
The form helpers work like the HTML form elements with the same names: input, textarea, select, and option. They take many of the same options, like type, value, placeholder, and required. If you've built a form on a web page before, they'll feel familiar.
How forms work
When you insert a template with form fields, Briskine shows the template in a form dialog, with a field wherever you added a form helper. It looks the same whether you insert the template with a shortcut, from the Briskine Dialog, or from the sidebar.
Fill in the fields, then press Insert, or Enter . The template is inserted with what you filled in, in place of the form fields.
Press Cancel, or Esc , to close the form dialog without inserting anything.
While typing in a textarea, press Ctrl + Enter ( Cmd + Enter on macOS) to insert the template.
The form dialog updates while you fill it in. When part of your template depends on a field, like a discount code that's only inserted when you check a box, you see the change right away.
In the order update below, the greeting, the items, the discount, and even its highlight color change as you fill in the form.
Form fields only show up in the form dialog when they're in the template body. In the subject, or the To, Cc, and Bcc fields, a form field inserts its starting value without asking. You can still use @form there to insert the values of fields from the body.
In the examples below, the Form dialog works like the one Briskine shows you. Fill it in, and the Preview shows what would be inserted. You can also change the template to try out the helpers.
Input
The input helper adds a field to your template.
Thanks for reaching out!
To use the value of the field anywhere else in your template, give it an id. The id can be any name. Use a different one for each field, unless you want two fields to share a value.
ids can contain only letters, numbers, _, and -, and must start with a letter (e.g., first_name).
Here are a few examples of how you can use it.
Add a default value
Use value to give the field a starting value. You can change it before inserting the template, or leave it as it is.
Thanks for reaching out!
Make a field required
Add required=true, and Briskine won't insert the template until the field is filled in.
Insert a number
Use type="number" for a field that only takes numbers. min and max set the smallest and largest number you can fill in, and step sets how much the arrows in the field change it.
Insert a date
Use type="date" for a field with a date picker.
The date is inserted as 2026-12-24. To change the format, put the field in a hidden block, and format it with the moment helper.
Until you pick a date, moment inserts today's date.
For a date and a time, use type="datetime-local".
Insert content when a box is checked
Use type="checkbox" to add a checkbox. A checkbox doesn't insert anything on its own. Use it with the if helper to insert content only when it's checked.
Add checked=true to check the box by default.
As a thank you, here is 10% off your next order with the code THANKYOU.
Uncheck the box in the Form dialog to see the discount code disappear from the Preview.
Other field types
Here are all the types you can use with type.
| Type | Field |
|---|---|
text | A single line of text. This is the default when you don't add a type. |
number | A number. |
email | An email address. |
url | A web address. |
tel | A phone number. |
date | A date, inserted as 2026-12-24. |
time | A time, inserted as 14:30. |
datetime-local | A date and a time, inserted as 2026-12-24T14:30. |
month | A month, inserted as 2026-12. |
week | A week, inserted as 2026-W52. |
color | A color picker, inserted as #ffcc00. |
checkbox | A checkbox. It doesn't insert anything. Use it with if. |
Dates and times can be formatted with the moment helper.
Form field options
| Option | Description |
|---|---|
id | The name of the field, to use its value with @form. |
type | The type of field. The default is text. |
value | The starting value of the field. |
placeholder | Text shown in the field while it's empty. It's never inserted. |
required | Set to true to make the field required. |
checked | Set to true to check the box by default. |
min, max | The smallest and largest number or date you can fill in. |
step | How much the number changes with the arrows in the field. |
pattern | A regular expression the text has to match. |
size | The width of the field, in characters. |
label | A name for the field, read by screen readers. |
Textarea
The textarea helper adds a field for longer text, on several lines. The line breaks are kept when the text is inserted.
Use rows to make the field taller. It also takes the value, placeholder, and required options, the same as input.
Here are the notes from our call:
Talk soon!
Select
The select block helper adds a dropdown. Add an option helper inside it for every choice in the dropdown.
The first option is selected by default. Use value on the select to select another one.
Here are a few examples of how you can use it.
Insert a different value than the one in the dropdown
Use value on an option to insert a different value than the one shown in the dropdown.
Your order is on its way.
Insert a whole paragraph
Use option as a block helper to insert a longer piece of content when it's selected. The label is what you see in the dropdown.
The content can be on several lines, and can have formatting, variables, or other helpers.
Thanks for the invitation, I will be there!
Select more than one option
Add multiple=true to select more than one option. Hold Ctrl ( Cmd on macOS) and click the options to select them. They're inserted separated by commas.
Without a value, no option is selected by default.
Use the values in the rest of the template
@form has the values of all the fields with an id. Use {{@form.name}}, with the id of the field in place of name, to insert its value anywhere in the template, even before the field.
...
Thanks again, , and have a great day!
@form works everywhere in the template, including inside other block helpers, like each or site.
Here are a few examples of how you can use it.
Field values
| Field | Value in @form |
|---|---|
input | The text you filled in. Dates and times use the formats in the table of field types. |
input type="number" | The number you filled in. |
input type="checkbox" | true when the box is checked, false when it's not. |
textarea | The text you filled in, with its line breaks. |
select | The value of the selected option, or its text when it doesn't have a value. |
select multiple=true | A list with the values of the selected options. |
For options with a whole paragraph, @form doesn't have the paragraph. It has the option's value, or its label when it doesn't have one, so you can check which option was selected.
Insert something else when a field is empty
Use the or helper to insert something when the field is left empty.
Fill in a name in the Form dialog to see it in the Preview.
Change how the value is inserted
Use @form with other helpers to change the value before it's inserted. For example, the capitalizeAll helper capitalizes every word, however you typed it.
To insert dates and times in another format, use the moment helper.
Insert content depending on a value
Use @form with the if helper to insert content only when a box is checked, or with the compare helper to insert something depending on a number.
Change the number of seats in the Form dialog to 10 or more, and the discount shows up.
Insert the selected options in another format
When you select more than one option, @form has a list. Use the list helper to join the options with something other than a comma.
Or use the each helper to insert each option on its own line.
- Gmail
Use the same field more than once
When two fields have the same id, they share one value. Fill in one, and the other one changes too. The starting value comes from the first one.
...
Thanks again, !
To show the field only once in the form dialog and insert its value in other places, use @form instead.
Fields in a loop
A field inside the each helper is added once for every item.
- Gmail:
Select more sites in the Form dialog to add a field for each one.
When the field has a fixed id, like id="plan", every item gets the same field, so they all share one value.
Hidden
The hidden block helper shows its content only in the form dialog. Content inside it isn't inserted with the rest of the template.
Use it for fields that only change what the template inserts, like a checkbox or a date you format with moment. Or add a note for your teammates to explain how to fill in the fields.
Add ~ inside the curly braces, like {{~#hidden}} and {{/hidden~}}, to also remove the line breaks before and after the block. Otherwise, the template is inserted with an empty line where the block was.
hidden works on its own too, without forms, to leave notes in any template.