Registration - making 2 fields exclude each other

  • Posts: 1
  • Thank you received: 0
11 years 1 month ago #127561

Hello, I hope i won't annoy too much with my question :cheer:

I need to modify my hikashop registration form so that if the customer is a single person, the " tax code " field is required and there is no " vat code ". And if the customer is a company, the " vat code " is required and there is no " tax code ".

With " tax code " i mean the personal fiscal code that every person has, and with " vat code " i mean the code that each company has.

How may i do what I explained ?

Thanks in advance for your kind disposal :cheer:

Please Log in or Create an account to join the conversation.

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
11 years 1 month ago #127616

Hi,

You can do that by creating a custom dropdown field to select individual/company and then in your vat code and tax code fields, you use the "display limited to" option in order to limit each one to the corresponding value of the first custom field.
That however requires the Business edition of HikaShop.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum