Skip to main content

Custom fields

What it does​

Add up to three fields of your own to the price request form, for example the quantity, the delivery date or the company name. Each field can be a text box, a dropdown, radio buttons, checkboxes or a date picker. You set them up in Stores → Configuration → MageMe Extensions → HidePrice, in Price Request Form → Custom Field 1, Custom Field 2 and Custom Field 3.

Before you start​

Steps​

Add a custom field​

The three groups Custom Field 1, Custom Field 2 and Custom Field 3 have the same settings. These steps use Custom Field 1.

  1. Go to Stores → Configuration → MageMe Extensions → HidePrice.
  2. Expand Price Request Form, then Custom Field 1.
  3. In Enable Custom Field, select Yes. The other settings of the group appear.
  4. If the customer must fill in the field, in Required, select Yes.
  5. In Type, select the kind of field. See Field types below.
  6. In Name, enter the label the customer sees, for example Quantity.
  7. In Comment, enter a text to show under the field, for example How many pieces do you need?. Leave it empty for no text.
  8. For a Dropdown, Radio or Checkbox field, enter the options. See Options below.
  9. For a Datepicker field, set which dates can be picked. See Date limits below.
  10. Click Save Config.
Custom Field 1 set up as a dropdown with options

The place of each custom field in the form is set in Fields Order. See Change the order of the fields. Every setting of these groups is also listed in the Custom fields settings reference.

Field types​

Type What the customer gets
Text A one-line text box.
Dropdown A list to pick one option from.
Radio Radio buttons to pick one option.
Checkbox Checkboxes to pick one or more options.
Datepicker A date field with a calendar.

Options​

For Dropdown, Radio and Checkbox, enter one option per line in Options. A few marks change how an option works:

Write What it does Example
Option Text A plain option. The customer's pick is saved as this text. Matte
^Option Text The option is selected when the form opens. ^Matte
Option Text {{null}} An option without a value. Use it for a first line like "Pick a finish": if the field is Required, the customer has to pick another option. Pick a finish {{null}}
Option Text {{val VALUE}} The customer sees the text, and the request saves the value instead. Matte black {{val MB-01}}
Option Text {{disabled}} The option shows but can't be picked. Gold {{disabled}}
{{optgroup label="Group"}} … {{/optgroup}} Puts the options between the two lines under a group heading. see below

An example with two groups for a Dropdown:

Pick a finish {{null}}
{{optgroup label="Metal"}}
^Brushed steel
Matte black {{val MB-01}}
{{/optgroup}}
{{optgroup label="Wood"}}
Oak
Walnut {{disabled}}
{{/optgroup}}

All marks work in a Dropdown. In Radio and Checkbox fields, group headings don't show, {{disabled}} has no effect, and an option with {{null}} shows as an option the customer can pick.

For Radio and Checkbox, Display Inline set to Yes shows all options on one line instead of one under another.

Date limits​

For a Datepicker field, these settings decide which dates the customer can pick:

Setting What it does
Disable Today Yes: today can't be picked.
Disabled Days The days of the week that can't be picked, for example Saturday and Sunday.
Disable Past Dates Yes: dates before today can't be picked.
Past Offset(days) Moves the first date that can be picked. With Disable Past Dates on and 2, the earliest date is the day after tomorrow. A negative number allows some past days.
Disable Future Dates Yes: dates after today can't be picked.
Future Offset(days) Moves the last date that can be picked. With Disable Future Dates on and 30, the latest date is 30 days from today.

For example, for a delivery date at least two days ahead and never on a weekend, set Disable Past Dates to Yes, Past Offset(days) to 2 and select Saturday and Sunday in Disabled Days.

The dates are counted from the day in the customer's browser. The form shows and saves the picked date as mm/dd/yyyy, for example 11/05/2026. The emails, the grid and the request page show it in the store view's locale, for example Nov 5, 2026 for English (United States).

What you should see​

  • The form shows each field you turned on, with your Name as its label and your Comment under it.

    Price request form with three custom fields
  • A required field that is left empty stops the form with a message under the field: "This is a required field." on Luma, or "Quantity field is required." on Hyvä for a field named Quantity.

  • The answers show as the customer typed them, including characters such as "&" and quotation marks.

  • The customer's answers show in grid columns named after each field's Name, which are hidden until you turn them on in Columns. See Choose the columns.

Limits​

  • There are three custom fields at most.
  • The settings work per store view, so a store view can have its own labels and options.
  • The grid, its Columns list and the export name each column after the field's Name. A field with an empty Name is called Custom Field 1, Custom Field 2 or Custom Field 3 there and in the form. The request page shows each answer under your Name.

Troubleshooting​

  • A custom field doesn't show. Check that Enable Custom Field is Yes for the store view.
  • The form shows "Custom Field 1" as a label. The field's Name is empty. Enter one.
  • The options show as one line. Put each option on its own line in Options.

What's next​

Last reviewed November 28, 2026