How to set a default value for a form field in CornerSpot

A default value pre-fills a form field the moment the form loads, so visitors start with a sensible answer already in place, and they can still change it. It's handy for the most common response (a typical option, a standard quantity, a usual choice). In Cornerspot, default values are set on custom fields, in the field's Advanced section. This guide shows how to add a custom field and give it a default value as you create it.

How to set a default value for a form field in Cornerspot

You set a default value from a form's Builder, on the form detail page, while adding (or editing) a custom field. Here's the full path, start to finish.

1. Open the Builder and click "+ Add Field"

From your form's detail page, the left-hand Builder lists every field on the form. Click + Add Field to open the field picker.

The form builder in Cornerspot with the Add Field button
The form Builder, with the + Add Field button.

2. Switch to the "Custom Field" tab

Default values are available on custom fields (your own questions). Switch from Standard Fields to the Custom Field tab.

Switching to the Custom Field tab in the Add Field drawer in Cornerspot
Switching from Standard Fields to the Custom Field tab.

3. Enter a Label and choose a data type

Type a Label (the question your visitors see, for example "Preferred contact time"). The Field Key fills in automatically. Leave the Data Type as Text, or pick whichever type matches the answer. A default value works for text, numbers, dates, a Yes/No, or a dropdown choice.

A custom field label entered with the field key auto-filled in Cornerspot
The Label entered, with the Field Key auto-filled below it.

4. Expand the "Advanced" section

Below the field's options, click Advanced to reveal the extra settings, including Default Value.

The Advanced section toggle for a custom form field in Cornerspot
The Advanced section toggle on the Custom Field tab.

5. Enter a Default Value

In Default Value (labelled "Pre-filled value when the form loads"), enter the value the field should start with. For a text field you type it; for a Yes/No or a Single Select, you pick it from a dropdown; for a number or date, you enter the value. Visitors can always overwrite it.

The Default Value field inside the Advanced section in Cornerspot
The Default Value field inside the Advanced section.
A default value entered for a custom form field in Cornerspot
A default value entered for the custom field.

6. Click "Add Custom Field"

Click Add Custom Field to add the field to your form. In the Live Preview on the right, you'll see the field already pre-filled with the default value, exactly as visitors will when they open the form.

The Add Custom Field button in the Add Field drawer in Cornerspot
The Add Custom Field button.
The new field pre-filled with its default value in the Cornerspot live preview
The new field on the form, pre-filled with its default value in the Live Preview.

Changing the default on an existing field

You can set or change a default value on a custom field that's already on the form, too. In the Builder, click the edit (pencil) icon on the field's card to open its editor, expand Advanced, set the Default Value, and click Save. Note that the Advanced section (and Default Value) appears for custom fields only; standard contact fields don't have it.

Tips

  • Use a default for the most common answer so most visitors don't have to change it (and remember they always can).
  • For a Single Select or Yes / No field, the default is chosen from a dropdown of the field's own options, so define the options first.
  • Match the default to the data type (a date picker for a date field, a number for a number field) so the pre-filled value is always valid.

Was this article helpful?