Jump to content

Custom required field when users try to register


lFraile

Recommended Posts

Hi!

Nice to see you again.

 

This time, I would like to ask you if it's possible to add a custom required field into the register form. I need to ask for the CIF(Spanish company code), when a new client tries to register.

Also, I would like to ask you how can I control that, when somebody tries to register, the registration is not automatically but validated by hand by the Shop administrator.

 

Thank you for you help :)

Link to comment
Share on other sites

Hi,

to add a field you need a module that implements to correspoding hooks/validation and processing logic. Or you try to re-use an existing field and rename it.

I don't think you can controll the activation status in the standard settings so that would require a module too.

Link to comment
Share on other sites

2 hours ago, lFraile said:

Ok, I see. I will try with a module, I don't know if maybe you can recommended anything. Thank you very much anyway!

I think if you edit the Classes vat  for someting like this it will work iam not sure

classes/Address.php

'required' => true

 

 

Edited by Lokimat (see edit history)
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...