[Skip to main content](#vessel-content)

#   Problem with guest form validation.

##

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 month ago [\#311784](#311784) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  *[Problem with guest form validation.](/forum/27-checkout/898441-problem-with-guest-form-validation#311784 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.14  Hello, I have found a problem in checkout process with proper presentation of TAX number field related with following settings:  TAX number field - defined in custom field as required for Companies and not required for Individuals. Buyer field – defined in custom field either as Radio Button or as Checkbox  The problem appears when and you try to accept checkout guest form for Companies without filling in Tax number field: there is a warning “Please complete the VAT number field” but Tax number field disappears from the form (Company Name is also disappear and Ordering Person Data also – so I think that the form &quot;switching&quot; data as required for Individual and not for the Company) – it is becoming visible again only when you change Buyer from Company to Individual and back again to Company.  However this improper situation doesn’t appear when you set Buyer field as Single Dropdown In custom field parameters – but I would like to use for the Buyer field either Radio Button or Checkbox  I would like to ask for a hint how to solve this problem.  I have tested this situation also on Prostar template and I think you shouldn't have problem to reproduce this scenario on your end.  Regards, Greg")* was created by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")*

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.2.14

Hello, I have found a problem in checkout process with proper presentation of TAX number field related with following settings:

TAX number field - defined in custom field as required for Companies and not required for Individuals.
Buyer field – defined in custom field either as Radio Button or as Checkbox

The problem appears when and you try to accept checkout guest form for Companies without filling in Tax number field: there is a warning “Please complete the VAT number field” but Tax number field disappears from the form (Company Name is also disappear and Ordering Person Data also – so I think that the form "switching" data as required for Individual and not for the Company) – it is becoming visible again only when you change Buyer from Company to Individual and back again to Company.

However this improper situation doesn’t appear when you set Buyer field as Single Dropdown In custom field parameters – but I would like to use for the Buyer field either Radio Button or Checkbox

I would like to ask for a hint how to solve this problem.

I have tested this situation also on Prostar template and I think you shouldn't have problem to reproduce this scenario on your end.

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODQ0MS1wcm9ibGVtLXdpdGgtZ3Vlc3QtZm9ybS12YWxpZGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

7 years 1 month ago [\#311791](#311791) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Problem with guest form validation.](/forum/27-checkout/898441-problem-with-guest-form-validation#311791 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.14  Hello, I have found a problem in checkout process with proper presentation of TAX number field related with following settings:  TAX number field - defined in custom field as required for Companies and not required for Individuals. Buyer field – defined in custom field either as Radio Button or as Checkbox  The problem appears when and you try to accept checkout guest form for Companies without filling in Tax number field: there is a warning “Please complete the VAT number field” but Tax number field disappears from the form (Company Name is also disappear and Ordering Person Data also – so I think that the form &quot;switching&quot; data as required for Individual and not for the Company) – it is becoming visible again only when you change Buyer from Company to Individual and back again to Company.  However this improper situation doesn’t appear when you set Buyer field as Single Dropdown In custom field parameters – but I would like to use for the Buyer field either Radio Button or Checkbox  I would like to ask for a hint how to solve this problem.  I have tested this situation also on Prostar template and I think you shouldn't have problem to reproduce this scenario on your end.  Regards, Greg")*

Hello Greg,

Can you show us some screenshots of
- How you configured your checkout "Hikashop-&gt;System-&gt;Configuration-&gt;Checkout"
- The issue you are having

So that we can also reproduce it on our end ?

Best regards,
Mohamed Thelji.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODQ0MS1wcm9ibGVtLXdpdGgtZ3Vlc3QtZm9ybS12YWxpZGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 month ago [\#311834](#311834) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[Problem with guest form validation.](/forum/27-checkout/898441-problem-with-guest-form-validation#311834 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.14  Hello, I have found a problem in checkout process with proper presentation of TAX number field related with following settings:  TAX number field - defined in custom field as required for Companies and not required for Individuals. Buyer field – defined in custom field either as Radio Button or as Checkbox  The problem appears when and you try to accept checkout guest form for Companies without filling in Tax number field: there is a warning “Please complete the VAT number field” but Tax number field disappears from the form (Company Name is also disappear and Ordering Person Data also – so I think that the form &quot;switching&quot; data as required for Individual and not for the Company) – it is becoming visible again only when you change Buyer from Company to Individual and back again to Company.  However this improper situation doesn’t appear when you set Buyer field as Single Dropdown In custom field parameters – but I would like to use for the Buyer field either Radio Button or Checkbox  I would like to ask for a hint how to solve this problem.  I have tested this situation also on Prostar template and I think you shouldn't have problem to reproduce this scenario on your end.  Regards, Greg")*

Hi Mohamed, ok, please find below screenshots

1. Configuration – checkout

[ ![1&#95;2019-10-08.png](/forum/attachment/47895) ](/forum/attachment/47895 "1&#95;2019-10-08.png")

[ ![2&#95;2019-10-08.png](/forum/attachment/47896) ](/forum/attachment/47896 "2&#95;2019-10-08.png")

2. Custom Field – address_vat_company

[ ![3&#95;2019-10-08.png](/forum/attachment/47897) ](/forum/attachment/47897 "3&#95;2019-10-08.png")

3. Custom Field – Buyer

[ ![4.png](/forum/attachment/47898) ](/forum/attachment/47898 "4.png")

4. Form – all required data filled in except VAT number – before Next button is submitted

[ ![5.png](/forum/attachment/47899) ](/forum/attachment/47899 "5.png")

5. Form – after Next button is submitted – Error Message to complete the VAT number Field but VAT number (and Company Name is not Visible) – in fact only fields, which are linked to Individual Buyer are visible

[ ![6.png](/forum/attachment/47900) ](/forum/attachment/47900 "6.png")

6. Form – after change Buyer from Company to Individual and back again to Company

[ ![7.png](/forum/attachment/47901) ](/forum/attachment/47901 "7.png")

Regards,
Greg

- [ ![1&#95;2019-10-08.png](/forum/attachment/47895) ](/forum/attachment/47895 "1&#95;2019-10-08.png") [ ](/forum/attachment/47895?download=1 "1&#95;2019-10-08.png")
- [ ![2&#95;2019-10-08.png](/forum/attachment/47896) ](/forum/attachment/47896 "2&#95;2019-10-08.png") [ ](/forum/attachment/47896?download=1 "2&#95;2019-10-08.png")
- [ ![3&#95;2019-10-08.png](/forum/attachment/47897) ](/forum/attachment/47897 "3&#95;2019-10-08.png") [ ](/forum/attachment/47897?download=1 "3&#95;2019-10-08.png")
- [ ![4.png](/forum/attachment/47898) ](/forum/attachment/47898 "4.png") [ ](/forum/attachment/47898?download=1 "4.png")
- [ ![5.png](/forum/attachment/47899) ](/forum/attachment/47899 "5.png") [ ](/forum/attachment/47899?download=1 "5.png")
- [ ![6.png](/forum/attachment/47900) ](/forum/attachment/47900 "6.png") [ ](/forum/attachment/47900?download=1 "6.png")
- [ ![7.png](/forum/attachment/47901) ](/forum/attachment/47901 "7.png") [ ](/forum/attachment/47901?download=1 "7.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODQ0MS1wcm9ibGVtLXdpdGgtZ3Vlc3QtZm9ybS12YWxpZGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

7 years 1 month ago [\#311849](#311849) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Problem with guest form validation.](/forum/27-checkout/898441-problem-with-guest-form-validation#311849 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.14  Hello, I have found a problem in checkout process with proper presentation of TAX number field related with following settings:  TAX number field - defined in custom field as required for Companies and not required for Individuals. Buyer field – defined in custom field either as Radio Button or as Checkbox  The problem appears when and you try to accept checkout guest form for Companies without filling in Tax number field: there is a warning “Please complete the VAT number field” but Tax number field disappears from the form (Company Name is also disappear and Ordering Person Data also – so I think that the form &quot;switching&quot; data as required for Individual and not for the Company) – it is becoming visible again only when you change Buyer from Company to Individual and back again to Company.  However this improper situation doesn’t appear when you set Buyer field as Single Dropdown In custom field parameters – but I would like to use for the Buyer field either Radio Button or Checkbox  I would like to ask for a hint how to solve this problem.  I have tested this situation also on Prostar template and I think you shouldn't have problem to reproduce this scenario on your end.  Regards, Greg")*

Hello Greg,

Thank you for your feedback, here is a quick fix that you can test on your end, you'll just have to edit the "\media\com_hikashop\js\hikashop.js" file and change these lines : Code:

if( new_value === null) { if(d.getElementById(type + namekey)) new_value = d.getElementById(type + namekey).value; else { inputs = d.getElementsByName('data['+field_type+']['+namekey+']'); for(var i = inputs.length - 1; i &gt;= 0; i--) { if(inputs[i].checked) new_value = inputs[i].value; } } }

by : Code:

if( new_value === null) { if(d.getElementById(type + namekey)) new_value = d.getElementById(type + namekey).value; else { inputs = d.getElementsByName('data['+field_type+']['+namekey+']'); if(!inputs.length) { var row = d.getElementById( prefix + field_type + '_' + namekey ); if(row) { inputs = row.getElementsByTagName('input'); } } if(inputs.length) { for(var i = inputs.length - 1; i &gt;= 0; i--) { if(inputs[i].checked) new_value = inputs[i].value; } } } }

Kind regards,
Mohamed Thelji.

The following user(s) said Thank You: [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODQ0MS1wcm9ibGVtLXdpdGgtZ3Vlc3QtZm9ybS12YWxpZGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 month ago [\#311881](#311881) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[Problem with guest form validation.](/forum/27-checkout/898441-problem-with-guest-form-validation#311881 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.14  Hello, I have found a problem in checkout process with proper presentation of TAX number field related with following settings:  TAX number field - defined in custom field as required for Companies and not required for Individuals. Buyer field – defined in custom field either as Radio Button or as Checkbox  The problem appears when and you try to accept checkout guest form for Companies without filling in Tax number field: there is a warning “Please complete the VAT number field” but Tax number field disappears from the form (Company Name is also disappear and Ordering Person Data also – so I think that the form &quot;switching&quot; data as required for Individual and not for the Company) – it is becoming visible again only when you change Buyer from Company to Individual and back again to Company.  However this improper situation doesn’t appear when you set Buyer field as Single Dropdown In custom field parameters – but I would like to use for the Buyer field either Radio Button or Checkbox  I would like to ask for a hint how to solve this problem.  I have tested this situation also on Prostar template and I think you shouldn't have problem to reproduce this scenario on your end.  Regards, Greg")*

Hi Mohamed, ok, it works - thank you for your help !

will you also add this change on your end in the next version of Hikashop ?

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODQ0MS1wcm9ibGVtLXdpdGgtZ3Vlc3QtZm9ybS12YWxpZGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 month ago -  7 years 1 month ago [\#311897](#311897) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[Problem with guest form validation.](/forum/27-checkout/898441-problem-with-guest-form-validation#311897 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.14  Hello, I have found a problem in checkout process with proper presentation of TAX number field related with following settings:  TAX number field - defined in custom field as required for Companies and not required for Individuals. Buyer field – defined in custom field either as Radio Button or as Checkbox  The problem appears when and you try to accept checkout guest form for Companies without filling in Tax number field: there is a warning “Please complete the VAT number field” but Tax number field disappears from the form (Company Name is also disappear and Ordering Person Data also – so I think that the form &quot;switching&quot; data as required for Individual and not for the Company) – it is becoming visible again only when you change Buyer from Company to Individual and back again to Company.  However this improper situation doesn’t appear when you set Buyer field as Single Dropdown In custom field parameters – but I would like to use for the Buyer field either Radio Button or Checkbox  I would like to ask for a hint how to solve this problem.  I have tested this situation also on Prostar template and I think you shouldn't have problem to reproduce this scenario on your end.  Regards, Greg")*

Hi Mohamed, Unfortunately after further tests (on other devices and browsers) it is turned out that this changed caused problems with proper site functioning - Slideshow Module is now not working (there is only empty space) and we have problem with presentation of list of products which are now presented only in one column. It means this changed in the hikashop.js is causing problem with other elements.

Regards,
Greg

Last edit: 7 years 1 month ago by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODQ0MS1wcm9ibGVtLXdpdGgtZ3Vlc3QtZm9ybS12YWxpZGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

7 years 1 month ago [\#311941](#311941) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Problem with guest form validation.](/forum/27-checkout/898441-problem-with-guest-form-validation#311941 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.14  Hello, I have found a problem in checkout process with proper presentation of TAX number field related with following settings:  TAX number field - defined in custom field as required for Companies and not required for Individuals. Buyer field – defined in custom field either as Radio Button or as Checkbox  The problem appears when and you try to accept checkout guest form for Companies without filling in Tax number field: there is a warning “Please complete the VAT number field” but Tax number field disappears from the form (Company Name is also disappear and Ordering Person Data also – so I think that the form &quot;switching&quot; data as required for Individual and not for the Company) – it is becoming visible again only when you change Buyer from Company to Individual and back again to Company.  However this improper situation doesn’t appear when you set Buyer field as Single Dropdown In custom field parameters – but I would like to use for the Buyer field either Radio Button or Checkbox  I would like to ask for a hint how to solve this problem.  I have tested this situation also on Prostar template and I think you shouldn't have problem to reproduce this scenario on your end.  Regards, Greg")*

Hello,

Can you send us a link to the page where you are having that issue so that we can check and reproduce it ?

Kind regards,
Mohamed Thelji.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODQ0MS1wcm9ibGVtLXdpdGgtZ3Vlc3QtZm9ybS12YWxpZGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 month ago [\#311971](#311971) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[Problem with guest form validation.](/forum/27-checkout/898441-problem-with-guest-form-validation#311971 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.14  Hello, I have found a problem in checkout process with proper presentation of TAX number field related with following settings:  TAX number field - defined in custom field as required for Companies and not required for Individuals. Buyer field – defined in custom field either as Radio Button or as Checkbox  The problem appears when and you try to accept checkout guest form for Companies without filling in Tax number field: there is a warning “Please complete the VAT number field” but Tax number field disappears from the form (Company Name is also disappear and Ordering Person Data also – so I think that the form &quot;switching&quot; data as required for Individual and not for the Company) – it is becoming visible again only when you change Buyer from Company to Individual and back again to Company.  However this improper situation doesn’t appear when you set Buyer field as Single Dropdown In custom field parameters – but I would like to use for the Buyer field either Radio Button or Checkbox  I would like to ask for a hint how to solve this problem.  I have tested this situation also on Prostar template and I think you shouldn't have problem to reproduce this scenario on your end.  Regards, Greg")*

Hello Mohamed, I have found what caused the problem - it was caused because I have missed the last mark "}" in your code !

once again thank you for your help !

will you also add this change on your end in the next version of Hikashop ?

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODQ0MS1wcm9ibGVtLXdpdGgtZ3Vlc3QtZm9ybS12YWxpZGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

7 years 1 month ago [\#311990](#311990) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Problem with guest form validation.](/forum/27-checkout/898441-problem-with-guest-form-validation#311990 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.14  Hello, I have found a problem in checkout process with proper presentation of TAX number field related with following settings:  TAX number field - defined in custom field as required for Companies and not required for Individuals. Buyer field – defined in custom field either as Radio Button or as Checkbox  The problem appears when and you try to accept checkout guest form for Companies without filling in Tax number field: there is a warning “Please complete the VAT number field” but Tax number field disappears from the form (Company Name is also disappear and Ordering Person Data also – so I think that the form &quot;switching&quot; data as required for Individual and not for the Company) – it is becoming visible again only when you change Buyer from Company to Individual and back again to Company.  However this improper situation doesn’t appear when you set Buyer field as Single Dropdown In custom field parameters – but I would like to use for the Buyer field either Radio Button or Checkbox  I would like to ask for a hint how to solve this problem.  I have tested this situation also on Prostar template and I think you shouldn't have problem to reproduce this scenario on your end.  Regards, Greg")*

Hello Greg,

Sure we'll add this change on next Hikashop release !

Kind regards,
Mohamed Thelji.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODQ0MS1wcm9ibGVtLXdpdGgtZ3Vlc3QtZm9ybS12YWxpZGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.072 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
