Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

Hook validateCustomerFormFields

Informations

Customer registration form validation This hook is called to a module when it has sent additional fields with additionalCustomerFormFields
Hook validateCustomerFormFields
Locations
FO
Type
Origin core
Aliases
Description This hook is called to a module when it has sent additional fields with additionalCustomerFormFields

This hook has an $array_return parameter set to true (module output will be set by name in an array, see explaination here).

Located in

Origin File
core classes/form/CustomerForm.php

Call of the Hook in the origin file

Hook::exec('validateCustomerFormFields', ['fields' => $formFields], $moduleId, true)