Changing the field validator in Business Category plugin
Posted: Mon Jan 20, 2025 9:22 am
First, you need to install and activate the Business Directory plugin. For more information, see our guide on how to install a WordPress plugin .
Once activated, go to Directory » Directory Contents and then to “Form Fields”. Here you will see the pre-made fields where you can later insert information about your employees, such as descriptions, websites, phone numbers and addresses.
These fields are a good starting point, but you can customize them further. Let's click "Add New Form Field" to create new fields.
Adding a form field in Business Directory plugin
Let's start with field mapping. By default, the Employee List list of belarus cell phone number plugin leaves it at post metadata, which means the field will appear as a custom field below the main editing area in the block editor. We'll leave this option as is.
You can also change the field type from text to radio buttons, social media links, check boxes, and more depending on the information you want to collect.
Choosing a field type in Business Directory plugin
Then give each field a unique label (e.g. “LinkedIn profile”). You can also add an optional description to guide users through the process of filling it out.
For fields that require specific data formats, you can set up field validation to ensure that the information is entered correctly.
There are several options to choose from, such as email addresses , URLs, and phone numbers.
Below you can mark certain fields as mandatory by checking the “Required” box. This can be useful for important information.
Once activated, go to Directory » Directory Contents and then to “Form Fields”. Here you will see the pre-made fields where you can later insert information about your employees, such as descriptions, websites, phone numbers and addresses.
These fields are a good starting point, but you can customize them further. Let's click "Add New Form Field" to create new fields.
Adding a form field in Business Directory plugin
Let's start with field mapping. By default, the Employee List list of belarus cell phone number plugin leaves it at post metadata, which means the field will appear as a custom field below the main editing area in the block editor. We'll leave this option as is.
You can also change the field type from text to radio buttons, social media links, check boxes, and more depending on the information you want to collect.
Choosing a field type in Business Directory plugin
Then give each field a unique label (e.g. “LinkedIn profile”). You can also add an optional description to guide users through the process of filling it out.
For fields that require specific data formats, you can set up field validation to ensure that the information is entered correctly.
There are several options to choose from, such as email addresses , URLs, and phone numbers.
Below you can mark certain fields as mandatory by checking the “Required” box. This can be useful for important information.