Jump to content

Remove some fields from registration form


wube

Recommended Posts

Hi,

I'd like to remove some unnecessary fields from registration form.

In Adresses.php i have found a variable:

protected $fieldsRequired = array('id_country', 'alias', 'lastname', 'firstname', 'address1', 'city');

But array doesn't contain all reqiured fields. For example i'd like to get rid of DNI number, and phone number. Where can I find them?

Link to comment
Share on other sites

Shure I can, but even if I remove them from TPL file they are still required. For example try to delete .account_creation dni from tpl file.

 

By default there are 8 required fields: phone, surname, name, email, adress1, city, zip/postal code, and DNI number. $fieldsRequired variable contains only 5 of them.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...