1. Home
  2. WholesaleX
  3. Registration Form Field S...
  4. Number Field

Number Field

The Number field collects numerical information from customers during registration. You can use it to request details such as the number of employees, business locations, years in operation, or estimated monthly order quantity.

Select the Number field in the registration form preview to open its settings.

Number field settings in the WholesaleX Registration Form Builder.

Available Field Settings

Field Active

Enable Field Active to display the Number field on the registration form.

Disable it to keep the field in the form builder without showing it on the published registration form.

Required

Enable Required when customers must enter a number before submitting the registration form.

Leave it disabled when providing the information should be optional.

Hide Label

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

When the label is hidden, customers must understand the field from its placeholder or help message. Keep the label visible when the requested numerical information may not be immediately clear.

Exclude Role Items

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

Click Choose Roles and select the roles that should not see the field. Leave the setting empty to show it to all applicable users.

For example, you can collect an estimated monthly order quantity from wholesale customers while excluding the field from regular customer roles.

Field Label

The Field Label identifies the numerical information customers need to provide.

The default label is:

Number

Replace the generic label with one that clearly describes the requested value. For example:

  • Number of Employees
  • Number of Business Locations
  • Years in Business
  • Estimated Monthly Order Quantity

A specific label makes the field easier to understand and reduces incorrect submissions.

Field Name

The Field Name is the internal identifier WholesaleX uses to store and process the submitted value.

WholesaleX automatically generates a unique field name similar to:

number_1785227570681

You can replace it with a more descriptive value, such as:

number_of_employees
business_locations
monthly_order_quantity

Do not include spaces or special characters in the field name. Use lowercase letters, numbers, and underscores.

WholesaleX automatically adds the wholesalex_cf prefix to the field name when storing it as a custom field. Each Number field should have a unique field name.

Placeholder

The Placeholder appears inside the field before the customer enters a number.

The default placeholder is:

Number

You can replace it with text that better reflects the expected value, such as:

  • Enter the number of employees
  • Enter your estimated monthly quantity
  • Enter the number of business locations

Keep the placeholder brief. Use the Help Message setting when the field requires more detailed instructions.

Help Message

Use Help Message to provide additional guidance about the number customers should enter.

Examples:

Enter the total number of people employed by your business.
Enter your estimated monthly order quantity in units.
Enter the number of physical locations operated by your business.

A help message is useful when customers need clarification about how the value should be calculated or what it should include.

WooCommerce Options

The Number field includes additional options for displaying and collecting the value through WooCommerce.

Add WooCommerce Registration

Enable Add WooCommerce Registration to add the Number field to the default WooCommerce customer registration form.

Leave it disabled when the field should appear only on the WholesaleX registration form.

Add Custom Field to Billing

Enable Add Custom Field to Billing to display the Number field in the WooCommerce billing section.

Use this option when the numerical information is relevant to checkout, billing, or customer account details.

Required in Billing

Enable Required in Billing to make the field mandatory in the WooCommerce billing section.

This option should be used with Add Custom Field to Billing. Leave it disabled when customers should be able to complete checkout without providing the number.

Example Configuration

For a Number of Employees field, you can use the following settings:

SettingRecommended value
Field ActiveEnabled
RequiredBased on your registration requirements
Hide LabelDisabled
Exclude Role ItemsExclude non-wholesale roles if needed
Field LabelNumber of Employees
Field Namenumber_of_employees
PlaceholderEnter the number of employees
Help MessageEnter the total number of people employed by your business.
Add WooCommerce RegistrationEnable if needed
Add Custom Field to BillingUsually disabled
Required in BillingDisabled

After configuring the field, click Save Changes and test it on the frontend registration form.

How can we help?