Marking Custom Fields as Required or Optional
Marking custom fields as required or optional lets you gather all the necessary information while offering flexibility to your customers. With the PrestaShop Customer Fields for Registration & Checkout module, you can easily control which fields must be filled in and which are optional. Follow this step-by-step guide to set required or optional fields.
Step-by-Step Process to Mark Custom Fields as Required or Optional
Ensure the PrestaShop Customer Fields for Registration & Checkout module is installed and activated from your PrestaShop back office.
Access the Field Customization Settings
From the PrestaShop dashboard, go to the module’s settings and select the tabs for either Registration Form or Checkout Page depending on which form you want to modify.
Click the “+” button to create a new field, or click on any existing field that you want to modify.
Locate the “Field Required” Option
Within the field customization options, you will find the “Field Required” toggle. This is where you decide whether a particular field must be filled in by the user.
Enable or Disable Field Requirement:
- If the field is required for your process (e.g., email or phone number), toggle the “Field Required” option to make it mandatory.
- If the field is optional (e.g., a company name or secondary contact number), leave the toggle disabled.
After configuring whether the field is required or optional, make sure all other field settings are properly filled in, such as the input type, label, and description.
Click “Save”.
