Skip to main content

Registration - making 2 fields exclude each other

More
12 years 11 months ago #127561 by pikkolo
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.

More
12 years 11 months ago #127616 by nicolas
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.133 seconds
Powered by Kunena Forum