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

#   Required custom field only for some Countries

##

- **[iux](/forum/user/13330-iux "View iux's Profile")**
- [![iux's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13330-iux "View iux's Profile") Topic Author
- [ Offline](/forum/user/13330-iux)

Less More

- Posts: 5
- Thank you received: 0
-
-

13 years 7 months ago [\#93490](#93490) by [iux](/forum/user/13330-iux "View iux's Profile")  *[Required custom field only for some Countries](/forum/4-how-to/79063-required-custom-field-only-for-some-countries#93490 "Hi all,  usually i find a lot of information on this forum but this time i've to give up!  Today i tried to create a new custom filed that should be set as &quot;required&quot; only for one country. I used the &quot;Display limited to&quot; preference but it doesn't works properly. The custom filed will appear only for the selected country (good thing) but there is a problem. If i choose in my address information a different country (where the custom field is hidden) and try to save my information, the system wont save them, because the required custom filed is empty. It looks that the &quot;Display limited to&quot; option will only hide the custom field, what i need is to disable it for all countries exept one.  Do you have some suggestions?  Thanks,  iux")* was created by *[iux](/forum/user/13330-iux "View iux's Profile")*

Hi all,

usually i find a lot of information on this forum but this time i've to give up!

Today i tried to create a new custom filed that should be set as "required" only for one country. I used the "Display limited to" preference but it doesn't works properly.
The custom filed will appear only for the selected country (good thing) but there is a problem.
If i choose in my address information a different country (where the custom field is hidden) and try to save my information, the system wont save them, because the required custom filed is empty.
It looks that the "Display limited to" option will only hide the custom field, what i need is to disable it for all countries exept one.

Do you have some suggestions?

Thanks,

iux

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5MDYzLXJlcXVpcmVkLWN1c3RvbS1maWVsZC1vbmx5LWZvci1zb21lLWNvdW50cmllcz90bXBsPW1hcmtkb3du) or [Create an account](/register) 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
-
-
-

13 years 7 months ago [\#93623](#93623) 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 *[Required custom field only for some Countries](/forum/4-how-to/79063-required-custom-field-only-for-some-countries#93623 "Hi all,  usually i find a lot of information on this forum but this time i've to give up!  Today i tried to create a new custom filed that should be set as &quot;required&quot; only for one country. I used the &quot;Display limited to&quot; preference but it doesn't works properly. The custom filed will appear only for the selected country (good thing) but there is a problem. If i choose in my address information a different country (where the custom field is hidden) and try to save my information, the system wont save them, because the required custom filed is empty. It looks that the &quot;Display limited to&quot; option will only hide the custom field, what i need is to disable it for all countries exept one.  Do you have some suggestions?  Thanks,  iux")*

Hi iux,

If you want the system to save them you can maybe set a **Default value** like "no value" or whatever you want for your custom field, then it your custom field won't be empty.

Hope this will help you a little.

The following user(s) said Thank You: [iux](/forum/user/13330-iux "View iux's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5MDYzLXJlcXVpcmVkLWN1c3RvbS1maWVsZC1vbmx5LWZvci1zb21lLWNvdW50cmllcz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[iux](/forum/user/13330-iux "View iux's Profile")**
- [![iux's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13330-iux "View iux's Profile") Topic Author
- [ Offline](/forum/user/13330-iux)

Less More

- Posts: 5
- Thank you received: 0
-
-

13 years 7 months ago [\#94101](#94101) by [iux](/forum/user/13330-iux "View iux's Profile")  Replied by *[iux](/forum/user/13330-iux "View iux's Profile")* on topic *[Required custom field only for some Countries](/forum/4-how-to/79063-required-custom-field-only-for-some-countries#94101 "Hi all,  usually i find a lot of information on this forum but this time i've to give up!  Today i tried to create a new custom filed that should be set as &quot;required&quot; only for one country. I used the &quot;Display limited to&quot; preference but it doesn't works properly. The custom filed will appear only for the selected country (good thing) but there is a problem. If i choose in my address information a different country (where the custom field is hidden) and try to save my information, the system wont save them, because the required custom filed is empty. It looks that the &quot;Display limited to&quot; option will only hide the custom field, what i need is to disable it for all countries exept one.  Do you have some suggestions?  Thanks,  iux")*

Thank you, it works!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5MDYzLXJlcXVpcmVkLWN1c3RvbS1maWVsZC1vbmx5LWZvci1zb21lLWNvdW50cmllcz90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.069 seconds

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