Field Editor

6 min read

The Checkout Field Editor is a powerful tool that allows you to fully customize your WooCommerce checkout form. Add, remove, reorder, and modify fields to create a streamlined checkout experience tailored to your business needs.


Overview #

What is the Checkout Field Editor?

The Checkout Field Editor gives you complete control over the checkout fields displayed to your customers. You can:

  • Add new fields to collect additional information (delivery instructions, gift messages, custom data)
  • Edit existing fields – change labels, placeholders, and validation rules
  • Reorder fields using intuitive drag-and-drop
  • Hide or disable fields you don’t need
  • Organize fields into sections – Billing, Shipping, Additional Information, and Order Notes

Getting Started

  1. Navigate to Swift Commerce → Checkout → Field Editor in your WordPress admin
  2. Toggle Enable Field Editor to activate the feature
  3. Use the Editor tab to manage fields visually
  4. Use the Settings tab to configure global options
  5. Click Save Changes when done

Editor Tab #

The Editor tab is your visual workspace for managing all checkout fields. It displays fields organized by section with full drag-and-drop support.

Quick Add Fields

Add new fields instantly using the Quick Add toolbar at the top of the editor.

Field TypeDescriptionAvailability
TextSingle-line text inputFree
NumberNumeric input with validationFree
EmailEmail address with format validationFree
PhoneTelephone number inputFree
PasswordPassword input (masked)Free
HiddenHidden field (not visible to customers)Free
URLWebsite URL inputFree
TextareaMulti-line text areaFree

Pro Field Types (requires Swift Commerce Pro):

Field TypeDescription
SelectDropdown menu with options
Multi SelectSelect multiple options
RadioRadio button group
CheckboxSingle checkbox toggle
Checkbox GroupMultiple checkboxes
File UploadAllow customers to upload files
DateDate input field
TimeTime input field
Date & TimeCombined date and time picker
MonthMonth selection
WeekWeek selection
Date PickerAdvanced calendar picker
Time PickerAdvanced time picker
HeadingSection heading (display only)
LabelStatic label text
ParagraphDescriptive paragraph text

Checkout Sections

Fields are organized into four sections:

SectionDescriptionDefault Fields
BillingCustomer billing address and contact infoFirst Name, Last Name, Company, Country, Address, City, State, Postcode, Phone, Email
ShippingShipping destination addressFirst Name, Last Name, Company, Country, Address, City, State, Postcode
Additional InformationCustom fields for extra data collectionEmpty by default
Order NotesCustomer notes about their orderOrder Comments

Section Controls

Each section card provides:

  • Expand/Collapse – Toggle section visibility in the editor
  • Enable/Disable – Hide entire sections from checkout
  • Field Count – Shows total and enabled field counts
  • Add Field – Button to add new fields to the section

Managing Individual Fields

Field Card Display

Each field shows:

  • Icon – Visual indicator of field type
  • Label – The field’s display name
  • Required Badge – Red badge if field is required
  • Core Badge – Gray badge for WooCommerce default fields
  • Field Type – Text, Email, Select, etc.
  • Field Key – The unique identifier (e.g., billing_email)
  • Width – 100%, 50%, or 33%

Field Actions

Hover over any field to reveal action buttons:

ActionIconDescription
Enable/DisableEye/EyeOffToggle field visibility on checkout
EditPencilOpen detailed field editor dialog
DuplicateCopyCreate a copy of the field
DeleteTrashRemove the field (custom fields only)

Note: Core WooCommerce fields cannot be deleted, but they can be hidden. Hiding core fields requires Swift Commerce Pro.

Drag and Drop Reordering

Reorder fields within a section by dragging the grip handle on the left side of each field card. Fields will automatically update their priority order when dropped.

Field Editor Dialog

Clicking the Edit button opens a comprehensive dialog with four tabs:

General Tab

SettingDescription
LabelThe text displayed above or beside the field
Field KeyUnique identifier used in code and database
PlaceholderGhost text shown inside empty fields
DescriptionHelp text displayed below the field
Default ValuePre-filled value when checkout loads
WidthFull (100%), Half (50%), or Third (33%)
CSS ClassCustom class names for styling
Field EnabledToggle to show/hide this field

Validation Tab

SettingDescription
Required FieldMake this field mandatory
Min LengthMinimum character count (text fields)
Max LengthMaximum character count (text fields)
Min ValueMinimum number (number fields)
Max ValueMaximum number (number fields)
Validation PatternPredefined or custom regex pattern
Error MessageCustom message when validation fails

Available Validation Patterns:

PatternDescription
NoneNo pattern validation
Letters onlyAlphabetic characters only
Numbers onlyNumeric characters only
AlphanumericLetters and numbers
Canadian postal codeFormat: A1A 1A1
US ZIP codeFormat: 12345 or 12345-6789
UK postcodeStandard UK format
Custom patternDefine your own regex

Options Tab (For Select, Radio, Checkbox Group)

Manage the choices available in selection fields:

  • Add Option – Create a new choice
  • Label – Display text shown to customers
  • Value – Internal value stored in the database
  • Set as Default – Pre-select this option
  • Reorder – Drag to change option order
  • Delete – Remove an option

Advanced Tab

SettingDescription
AutocompleteBrowser autocomplete attribute (e.g., given-nameemail)
RowsNumber of rows for textarea fields
Allowed File TypesComma-separated extensions for file uploads
Max File SizeMaximum upload size in MB
Min/Max DateDate range limits for date fields
PrefixText displayed before the input
SuffixText displayed after the input
Input MaskFormat mask (e.g., (999) 999-9999 for phone)

Input Mask Syntax:

  • 9 = Any digit (0-9)
  • a = Any letter (a-z, A-Z)
  • * = Any character

Settings Tab #

The Settings tab contains global configuration options that affect all checkout fields.

General Settings

SettingDescriptionDefault
Enable Field EditorWhen disabled, WooCommerce default checkout fields are usedEnabled
Enable Conditional LogicAllow fields to show/hide based on other field valuesEnabled (Pro)
Enable Custom ValidationAllow custom validation patterns for fieldsEnabled (Pro)

Display Settings

Configure how fields appear on the checkout page.

SettingDescriptionDefault
Show Field LabelsDisplay labels above form fieldsEnabled
Show PlaceholdersDisplay placeholder text inside fieldsEnabled
Show Field DescriptionsDisplay help text below fieldsEnabled
Required Field IndicatorCharacter to mark required fields*
Indicator PositionShow indicator before or after the labelAfter

Validation Settings

Control how field validation behaves during checkout.

SettingDescriptionDefault
Validate on BlurValidate fields when user leaves themEnabled
Validate on SubmitValidate all fields when form is submittedEnabled
Show Errors InlineDisplay error messages next to fieldsEnabled
Scroll to First ErrorAutomatically scroll to the first errorEnabled
Highlight Error FieldsAdd visual highlight to fields with errorsEnabled
Error PositionDisplay errors above or below the fieldBelow

Address Override Settings

Configure how address fields interact with saved customer data.

SettingDescriptionDefault
Override Address FieldsAllow checkout fields to override saved address dataDisabled
Allow Billing OverrideUsers can override their saved billing addressEnabled
Allow Shipping OverrideUsers can override their saved shipping addressEnabled
Sync Billing & ShippingKeep billing and shipping addresses synchronizedDisabled

File Upload Settings (Pro)

Configure file upload behavior for file fields.

SettingDescriptionDefault
Upload DirectorySubfolder within wp-content/uploadscheckout-uploads
Max Total Upload SizeMaximum total file size per checkout (MB)10 MB

Supported file types are configured per-field in the Pro settings:

  • Default allowed: jpg, jpeg, png, pdf, doc, docx

Import, Export & Reset

ActionDescription
Export SettingsDownload all field configurations as JSON
Import SettingsUpload a previously exported JSON file
Reset to DefaultsRestore all fields to WooCommerce defaults

Warning: Reset cannot be undone. Export your settings first if you want to preserve them.


Conditional Logic (Pro) #

Conditional logic allows you to show or hide fields based on the values of other fields.

How It Works

  1. Edit a field and go to the Conditional Logic section
  2. Enable conditional logic for the field
  3. Choose the action: Show or Hide
  4. Set the logic mode: All rules (AND) or Any rule (OR)
  5. Add rules based on other field values

Available Operators

OperatorDescription
EqualsField value matches exactly
Does not equalField value doesn’t match
ContainsField value includes the text
Does not containField value excludes the text
Is emptyField has no value
Is not emptyField has a value
Greater thanNumeric comparison
Less thanNumeric comparison
Updated on March 14, 2026
Was it helpful ?
Scroll to Top