1. Home
  2. WholesaleX
  3. Registration Form Field S...
  4. First and Last Name Fields

First and Last Name Fields

The First Name and Last Name fields collect a customer’s name during registration. Since both fields contain the same configuration options, you can set them up using the same process.

Select either field from the registration form preview to open its settings in the left panel.

First Name field settings in the WholesaleX Registration Form Builder.

Last Name field settings in the WholesaleX Registration Form Builder.

Available Field Settings

Field Active

Enable Field Active to display the selected name field on the registration form.

Disable it when you do not want customers to provide that information. The field remains in the form builder but will not appear on the published registration form.

Required

Enable Required when customers must complete the field before submitting the registration form.

For example, when the First Name field is required, a customer cannot register without entering a first name. Leave this option disabled when the field should remain optional.

Hide Label

Enable Hide Label to remove the visible field label from the registration form.

The placeholder text will still appear inside the input box. Keep the label visible unless the placeholder clearly identifies the information customers need to enter.

Exclude Role Items

Use Exclude Role Items to hide the selected field from specific user roles.

Click Choose Roles and select the roles that should not see the field. Leave this setting empty when the field should be available to all applicable users.

For example, you can hide a name field from a particular wholesale role when that information is already collected through another field or process.

Field Label

The Field Label is the name displayed for the field on the registration form.

The default labels are:

FieldDefault label
First NameFirst Name
Last NameLast Name

You can change these labels to match your registration process, such as Contact First Name or Account Holder’s Last Name.

Field Name

The Field Name is the internal identifier used to process and store the submitted information.

The default field names are:

FieldDefault field name
First Namefirst_name
Last Namelast_name

Keep these default values to store the information in the corresponding standard WordPress user profile fields.

Change a field name only when you have a specific technical requirement. Modifying it may affect how the submitted data works with WordPress, WholesaleX, custom code, or other plugins.

Placeholder

The Placeholder is the text displayed inside the input box before the customer enters a value.

The default placeholders are:

FieldDefault placeholder
First NameFirst Name
Last NameLast Name

You can also use more instructional text, such as:

  • Enter your first name
  • Enter your last name

Keep the placeholder brief and clearly related to the requested information.

Help Message

Use the Help Message field to provide additional instructions below the input field.

For example:

  • Enter the first name of the primary account holder.
  • Enter the last name of the primary account holder.

A help message is optional. Leave it empty when the field label and placeholder already provide enough information.

Recommended Configuration

A standard configuration for both name fields is:

SettingFirst NameLast Name
Field ActiveEnabledEnabled
RequiredBased on your requirementsBased on your requirements
Hide LabelDisabledDisabled
Exclude Role ItemsNoneNone
Field LabelFirst NameLast Name
Field Namefirst_namelast_name
PlaceholderFirst NameLast Name
Help MessageOptionalOptional

After configuring both fields, click Save Changes to apply the settings.

How can we help?