Custom fields on the request form
What it does
Custom fields let you ask up to three questions of your own on the quote request form, for example a delivery date or a project type. You set them up in Stores → Configuration → MageMe Extensions → EasyQuote, in the groups Custom Field 1, Custom Field 2 and Custom Field 3. The answers arrive with the request.
Before you start
- The request form is set up. See The quote request form.
- Your admin role can open the EasyQuote settings. See Roles and permissions.
- On a Hyvä store, read the note on dates in Limits before you use a Datepicker field.
Steps
Add a custom field
- Go to Stores → Configuration → MageMe Extensions → EasyQuote.
- Expand Custom Field 1.
- In Enable Custom Field, select Yes.
- If the field must be filled in, select Yes in Required.
- In Type, select the kind of field.
- In Name, enter the label customers see, for example
Project type. - In Comment, enter a hint to show under the field, or leave it empty.
- If the type is Dropdown, Radio or Checkbox, enter one option per line in Options.
- If the type is Radio or Checkbox and you want the options side by side, select Yes in Display Inline.
- Click Save Config.

The field takes its place in the form from Fields Order, between Phone Number and Message by default. See The quote request form.
Field types
| Type | What the customer gets |
|---|---|
| Text | A one-line text box. |
| Dropdown | A list to pick one option from. |
| Radio | Round buttons to pick one option. |
| Checkbox | Boxes to tick one or more options. |
| Datepicker | A date box with a calendar. |

The answers show on the request page in Request Information, each under the field's Name. They are also in the New Quote Request email to your team and the Quote Request Received email to the customer. In the Requests grid, the answers have their own columns, named after each field's Name (Field 1 to Field 3 for a field without one), hidden until you turn them on in Columns. See Quotes and Requests grids.
If a required custom field is empty, the form doesn't send the request and marks the field, for example with "Please select an option." for a dropdown.
Write the options
Enter one option per line in Options. These codes change an option:
| You type | Effect |
|---|---|
^Option Text | The option is selected when the form opens. |
Option Text {{null}} | The option has no value, for example a first line Choose one {{null}}. |
Option Text {{val VALUE}} | The option shows Option Text but sends VALUE with the request. The request page, the Requests grid and the emails show Option Text. |
Option Text {{disabled}} | The option shows but can't be picked. |
{{optgroup label="Group"}} … {{/optgroup}} | The lines between the two codes form a named group. |
{{disabled}} and groups work in Dropdown fields only. In Radio and Checkbox fields, a disabled option can still be picked and group lines are left out.
Limit the dates
For a Datepicker field, these settings control which days can be picked:
- Disable Today: today can't be picked.
- Disabled Days: the weekdays you select can't be picked, for example Saturday and Sunday.
- Disable Past Dates with Past Offset(days): no date before today. A positive offset moves the first allowed day forward, so
2means the earliest date is the day after tomorrow. - Disable Future Dates with Future Offset(days): no date after today plus the offset.
Dates use the month/day/year format.
Where each custom field setting is described
| Setting | Custom Field 1 | Custom Field 2 | Custom Field 3 |
|---|---|---|---|
| Enable Custom Field | Field 1 | Field 2 | Field 3 |
| Required | Field 1 | Field 2 | Field 3 |
| Type | Field 1 | Field 2 | Field 3 |
| Name | Field 1 | Field 2 | Field 3 |
| Comment | Field 1 | Field 2 | Field 3 |
| Options | Field 1 | Field 2 | Field 3 |
| Display Inline | Field 1 | Field 2 | Field 3 |
| Disable Today | Field 1 | Field 2 | Field 3 |
| Disabled Days | Field 1 | Field 2 | Field 3 |
| Disable Past Dates | Field 1 | Field 2 | Field 3 |
| Past Offset(days) | Field 1 | Field 2 | Field 3 |
| Disable Future Dates | Field 1 | Field 2 | Field 3 |
| Future Offset(days) | Field 1 | Field 2 | Field 3 |
What you should see
- The form shows your field with its Name, in the place set by Fields Order.
- A new request shows the answer in Request Information on the request page.
Limits
- Luma and Hyvä apply the date settings. On Hyvä, this needs the Hyvä companion 1.4.11 or later.
- There are three custom fields, no more. Each one has one Name per store view.
- A custom field's answer stays on the request. It doesn't move to the quote when you create one. See Turn a request into a quote.
Troubleshooting
- The field doesn't show on the form. Check Enable Custom Field for the store view, and the field's place in Fields Order.
- A dropdown shows an empty or odd first line. Look for a stray empty line or a misspelt code in Options.
- You can't find the answers in the grid. In Columns on Manage Requests, turn on the column with the field's Name. A field without a name shows as Field 1, Field 2 or Field 3.
What's next
- The quote request form: place the field with Fields Order.
- Working with requests: read the answers on the request page.
- Settings: Custom Fields 1–3: every setting with its scope and default.