All fields
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.
| Chip | What it is | Its own settings |
|---|---|---|
| Text | One line of text | Placeholder, default value, min and max length, autocomplete |
| An email address, checked when sent | Same as Text | |
| URL | A web address starting with http:// or https:// | Same as Text |
| Tel | A phone number, formatted for a country if you like | Same as Text, plus a mask: one country’s, your own, or a list of countries visitors pick from |
| Number | A number | Placeholder, default value, min, max, step |
| Date | A date picker | Default value, earliest and latest date: a set date, today, or a number of days from today |
| Textarea | Several lines of text | Rows, plus the Text settings |
| Select | A dropdown | Options, default value, an empty first choice and its label, allow several |
| Country | A dropdown of countries | Only these countries, leave out, default value, an empty first choice and its label, allow several, flags |
| Checkbox | Boxes to tick | Options, default value, label wrapping, label before the box, only one at a time |
| Radio | One choice from several | Options, default value, label wrapping, label before the button, allow none picked |
| Acceptance | A box to accept terms | Text (links allowed), optional, invert, checked by default |
| Quiz | A question against bots | Questions with their answers |
| File | A file upload | Allowed types, max size in MB, several files |
| Hidden | A value sent with the form, never shown | Value |
| Submit | The send button | Label, 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 goes | Amount, amount from, currency, description, pay button |
| PayPal payment (More) | Visitors pay with PayPal before the message goes | Amount, amount from, currency, description |
| Captcha (More) | Where the captchas from Settings → Spam go | None. Offered once a captcha is set up. |
| Response (More) | Where the message after sending shows | None |
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.
| Field | Token | Prints |
|---|---|---|
| File | :size, :types | 10 MB; JPG, PNG, PDF |
| Text, Email, URL, Tel, Textarea | :min, :max | The min and max length; :count and :left count the characters as visitors type, such as [[message:left]] characters left |
| Number | :min, :max | The smallest and largest number |
| Date | :min, :max | The earliest and latest date, in your site’s date format |
| Stripe, PayPal | :amount | The 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]]".