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

#   Can the address\_state popup be set to have No Default

##

- **[esotechie](/forum/user/7143-esotechie "View esotechie's Profile")**
- [![esotechie's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7143.jpg)](/forum/user/7143-esotechie "View esotechie's Profile") Topic Author
- [ Offline](/forum/user/7143-esotechie)

Less More

- Posts: 180
- Thank you received: 13
-
-
-
- [](http://www.halare.co.uk/)
-

9 years 10 months ago [\#258758](#258758) by [esotechie](/forum/user/7143-esotechie "View esotechie's Profile")  *[Can the address\_state popup be set to have No Default](/forum/2-general-talk-about-hikashop/888139-can-the-address-state-popup-be-set-to-have-no-default#258758 "-- HikaShop version -- : Business 2.6.4 &#91;1610260900&#93; -- Joomla version -- : 3.6.4 Stable -- PHP version -- : 7.0.3  Hi  It seems very odd to have a default for the state in the address. How can this simply be removed so that the pop-up shows with nothing selected for new addresses.")* was created by *[esotechie](/forum/user/7143-esotechie "View esotechie's Profile")*

-- HikaShop version -- : Business 2.6.4 [1610260900]
-- Joomla version -- : 3.6.4 Stable
-- PHP version -- : 7.0.3

Hi

It seems very odd to have a default for the state in the address. How can this simply be removed so that the pop-up shows with nothing selected for new addresses.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#258759](#258759) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Can the address\_state popup be set to have No Default](/forum/2-general-talk-about-hikashop/888139-can-the-address-state-popup-be-set-to-have-no-default#258759 "-- HikaShop version -- : Business 2.6.4 &#91;1610260900&#93; -- Joomla version -- : 3.6.4 Stable -- PHP version -- : 7.0.3  Hi  It seems very odd to have a default for the state in the address. How can this simply be removed so that the pop-up shows with nothing selected for new addresses.")*

Hi,

Just edit your custom field in order to change his settings ; and use the "please select" option.
[ www.hikashop.com/support/documentation/1...shop-field-form.html](https://www.hikashop.com/support/documentation/10-documentation/hikashop/42-hikashop-field-form.html)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[esotechie](/forum/user/7143-esotechie "View esotechie's Profile")**
- [![esotechie's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7143.jpg)](/forum/user/7143-esotechie "View esotechie's Profile") Topic Author
- [ Offline](/forum/user/7143-esotechie)

Less More

- Posts: 180
- Thank you received: 13
-
-
-
- [](http://www.halare.co.uk/)
-

9 years 9 months ago [\#259259](#259259) by [esotechie](/forum/user/7143-esotechie "View esotechie's Profile")  Replied by *[esotechie](/forum/user/7143-esotechie "View esotechie's Profile")* on topic *[Can the address\_state popup be set to have No Default](/forum/2-general-talk-about-hikashop/888139-can-the-address-state-popup-be-set-to-have-no-default#259259 "-- HikaShop version -- : Business 2.6.4 &#91;1610260900&#93; -- Joomla version -- : 3.6.4 Stable -- PHP version -- : 7.0.3  Hi  It seems very odd to have a default for the state in the address. How can this simply be removed so that the pop-up shows with nothing selected for new addresses.")*

Thanks for the reply Jerome

But that does not do what I want it to do.

I do not want a default. I want there to be nothing selected. The form will not allow that.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

9 years 9 months ago [\#259267](#259267) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can the address\_state popup be set to have No Default](/forum/2-general-talk-about-hikashop/888139-can-the-address-state-popup-be-set-to-have-no-default#259267 "-- HikaShop version -- : Business 2.6.4 &#91;1610260900&#93; -- Joomla version -- : 3.6.4 Stable -- PHP version -- : 7.0.3  Hi  It seems very odd to have a default for the state in the address. How can this simply be removed so that the pop-up shows with nothing selected for new addresses.")*

Hi,

If what Jerome told you is not what you want, then I don't see what you want.
The "please select" option is the closest thing as it adds an entry that isn't a state and with the required option turned on, it forces the user to select something else. And on top of that, you can even change that text with a translation override if you want it to be empty.
It's not possible to not have one of the values of the dropdown selected in a dropdown in HTML.
Otherwise, what you can do is trick the browser with such JS code: [ stackoverflow.com/a/8605567/6390007](http://stackoverflow.com/a/8605567/6390007)

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

- **[esotechie](/forum/user/7143-esotechie "View esotechie's Profile")**
- [![esotechie's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7143.jpg)](/forum/user/7143-esotechie "View esotechie's Profile") Topic Author
- [ Offline](/forum/user/7143-esotechie)

Less More

- Posts: 180
- Thank you received: 13
-
-
-
- [](http://www.halare.co.uk/)
-

9 years 9 months ago [\#259422](#259422) by [esotechie](/forum/user/7143-esotechie "View esotechie's Profile")  Replied by *[esotechie](/forum/user/7143-esotechie "View esotechie's Profile")* on topic *[Can the address\_state popup be set to have No Default](/forum/2-general-talk-about-hikashop/888139-can-the-address-state-popup-be-set-to-have-no-default#259422 "-- HikaShop version -- : Business 2.6.4 &#91;1610260900&#93; -- Joomla version -- : 3.6.4 Stable -- PHP version -- : 7.0.3  Hi  It seems very odd to have a default for the state in the address. How can this simply be removed so that the pop-up shows with nothing selected for new addresses.")*

Hi

Apologies to both of you. I assumed the preview showed what it would look like with that option and did not test it out with the front-end.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4ODEzOS1jYW4tdGhlLWFkZHJlc3Mtc3RhdGUtcG9wdXAtYmUtc2V0LXRvLWhhdmUtbm8tZGVmYXVsdD90bXBsPW1hcmtkb3du) 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.083 seconds

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