Re is out: see what's new Lifetime updates on every purchase Support replies within 24 hours Secure checkout via Gumroad 8,500+ sales since 2016

All fields

Updated 4 min read 8 views

Re:Maily has 20 field types and two chips with nothing to set up, Captcha and Response. Click a field’s chip to see its settings in the sidebar. Each chip has its own page under Fields.

ChipWhat it isIts own settings
TextOne line of textPlaceholder, default value, min and max length, autocomplete
EmailAn email address, checked when sentSame as Text
URLA web address starting with http:// or https://Same as Text
TelA phone number, formatted for a country if you likeSame as Text, plus a mask: one country’s, your own, or a list of countries visitors pick from
NumberA numberPlaceholder, default value, min, max, step
DateA date pickerDefault value, earliest and latest date: a set date, today, or a number of days from today
TextareaSeveral lines of textRows, plus the Text settings
SelectA dropdownOptions, default value, an empty first choice and its label, allow several
CountryA dropdown of countriesOnly these countries, leave out, default value, an empty first choice and its label, allow several, flags
CheckboxBoxes to tickOptions, default value, label wrapping, label before the box, only one at a time
RadioOne choice from severalOptions, default value, label wrapping, label before the button, allow none picked
AcceptanceA box to accept termsText (links allowed), optional, invert, checked by default
QuizA question against botsQuestions with their answers
FileA file uploadAllowed types, max size in MB, several files
HiddenA value sent with the form, never shownValue
SubmitThe send buttonLabel, button or link
Output (More)Shows what visitors type in another field, as they type. Never sent.Mirror of, format, text when empty
Count (More)Counts the characters typed in another field. Never sent.Count of, format
Stripe payment (More)Visitors pay by card before the message goesAmount, amount from, currency, description, pay button
PayPal payment (More)Visitors pay with PayPal before the message goesAmount, amount from, currency, description
Captcha (More)Where the captchas from Settings → Spam goNone. Offered once a captcha is set up.
Response (More)Where the message after sending showsNone

Every field except Hidden also has CSS classes, ID and Custom attributes, and a Style when your theme or Re:Maily offers more than one. Text, Email, URL, Tel, Number, Date, Textarea, Select, Country, Checkbox, Radio and File have Required. Put a * in the field’s label yourself so visitors know it’s required.

Fill from

Text, Email, URL, Tel, Number, Date, Textarea, Select, Country, Checkbox, Radio and Hidden can get their starting value from the visit. Under Fill from, pick a URL parameter (?name=Olga), data posted to the page, a shortcode attribute ([remaily id="…" name="Olga"]), a custom field of the page, or the logged-in user’s email, name, nickname, username or website. Name to read is the parameter, attribute or custom field to read; empty, it is the field’s name. The default value is used when that is empty.

On a cached page everyone gets the same value, so use URL and user values only on pages that aren’t cached.

Options

Select, Checkbox and Radio take one option per line, written as value : Label. Visitors see the label; the value is what conditions and [_raw_name] mail tags use. A line without : uses the same text for both.

Changing a field’s type

Pick another type in the sidebar. The field keeps its name and every setting both types share, so its mail tag still works.

Show a field’s settings in your text

Text such as “up to 10 MB” can follow the field’s settings, so it never goes out of date. Click the field’s chip, put the cursor where the text goes, and click a button under Use in text. The code gets a token like [[your_file:size]], shown as a light chip, and the form prints the value.

<span class="hint">[[your_file:types]] · up to [[your_file:size]]</span>

Visitors read: JPG, PNG, PDF · up to 10 MB.

FieldTokenPrints
File:size, :types10 MB; JPG, PNG, PDF
Text, Email, URL, Tel, Textarea:min, :maxThe min and max length; :count and :left count the characters as visitors type, such as [[message:left]] characters left
Number:min, :maxThe smallest and largest number
Date:min, :maxThe earliest and latest date, in your site’s date format
Stripe, PayPal:amountThe fixed amount, such as $20.00

A setting left empty prints nothing. :count and :left change as visitors type and get is-over and is-under classes and the –remaily-count and –remaily-max variables, like the Count field, for a progress bar of your own. Inside an attribute they show the value when the page opens. Tokens work inside attributes too, such as title="Up to [[your_file:size]]".

Was this article helpful?