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

#   Changing a Radio Button field to a NIL value

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 6 months ago [\#102332](#102332) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Changing a Radio Button field to a NIL value](/forum/2-general-talk-about-hikashop/81390-changing-a-radio-button-field-to-a-nil-value#102332 "I have a Non Required Radio Button field with 5 options, but sometimes I don't want any option chosen and creating a sixth option named NIL looks like it can not be avoided in the Filters for this field.  How can I do so a HikaMarket vendor can transform the already selected Radio Button to NIL value?")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

I have a Non Required Radio Button field with 5 options, but sometimes I don't want any option chosen and creating a sixth option named NIL looks like it can not be avoided in the Filters for this field.

How can I do so a HikaMarket vendor can transform the already selected Radio Button to NIL value?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgxMzkwLWNoYW5naW5nLWEtcmFkaW8tYnV0dG9uLWZpZWxkLXRvLWEtbmlsLXZhbHVlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 6 months ago [\#102393](#102393) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Changing a Radio Button field to a NIL value](/forum/2-general-talk-about-hikashop/81390-changing-a-radio-button-field-to-a-nil-value#102393 "I have a Non Required Radio Button field with 5 options, but sometimes I don't want any option chosen and creating a sixth option named NIL looks like it can not be avoided in the Filters for this field.  How can I do so a HikaMarket vendor can transform the already selected Radio Button to NIL value?")*

Hi,

I don't understand the reference to HikaMarket vendor, but the best solution for you will be to add some Javascript in order to unselect the radio.
I could be possible to do such thing by modifying the HikaShop core but it is not something recommended because after that, you couldn't update HikaShop without loosing your modification.

Regards,

---

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

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

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

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