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

#   Custom Field Filter: Displaying specific values

##

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

Less More

- Posts: 27
- Thank you received: 4
-
-

11 years 5 months ago -  11 years 5 months ago [\#205180](#205180) by [fengel](/forum/user/37465-fengel "View fengel's Profile")  *[Custom Field Filter: Displaying specific values](/forum/45-filters-search/877607-custom-field-filter-displaying-specific-values#205180 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Firefox 38.0.5  I want to restrict a custom checkbox filter to only the values I choose, but saving erases my choices.  I have created a custom field called &quot;Features&quot; and populated the values like this:  Then I created a filter based on this field:  Here, you can see that the Values entered match the &quot;Values&quot; field from the custom field. In this example, I only want the filter to show 2 choices.  But when I save, it erases the Values:  I know that numbers are accepted, but I would prefer that the values stay as alphanumeric values. Is there a way around this? I also am aware of Dynamic Display, but this solution won't help because the data will come from an external source and sync automatically with the shop. It's very possible that products will have certain Features that we don't want to show as a Filter.")* was created by *[fengel](/forum/user/37465-fengel "View fengel's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3.10
-- Browser(s) name and version -- : Firefox 38.0.5

I want to restrict a custom checkbox filter to only the values I choose, but saving erases my choices.

I have created a custom field called "Features" and populated the values like this:
[ ![Snap&#95;2015-06-17&#95;at&#95;14&#95;42&#95;47.jpg](/forum/attachment/24944) ](/forum/attachment/24944 "...t&#95;14&#95;42&#95;47.jpg")

Then I created a filter based on this field:
[ ![Snap&#95;2015-06-17&#95;at&#95;14&#95;43&#95;35.jpg](/forum/attachment/24945) ](/forum/attachment/24945 "...t&#95;14&#95;43&#95;35.jpg")

Here, you can see that the Values entered match the "Values" field from the custom field. In this example, I only want the filter to show 2 choices.

But when I save, it erases the Values:
[ ![Snap&#95;2015-06-17&#95;at&#95;14&#95;44&#95;00.jpg](/forum/attachment/24946) ](/forum/attachment/24946 "...t&#95;14&#95;44&#95;00.jpg")

I know that numbers are accepted, but I would prefer that the values stay as alphanumeric values. Is there a way around this?
I also am aware of Dynamic Display, but this solution won't help because the data will come from an external source and sync automatically with the shop. It's very possible that products will have certain Features that we don't want to show as a Filter.

- [ ![Snap&#95;2015-06-17&#95;at&#95;14&#95;42&#95;47.jpg](/forum/attachment/24944) ](/forum/attachment/24944 "...t&#95;14&#95;42&#95;47.jpg") [ ](/forum/attachment/24944?download=1 "...t&#95;14&#95;42&#95;47.jpg")
- [ ![Snap&#95;2015-06-17&#95;at&#95;14&#95;43&#95;35.jpg](/forum/attachment/24945) ](/forum/attachment/24945 "...t&#95;14&#95;43&#95;35.jpg") [ ](/forum/attachment/24945?download=1 "...t&#95;14&#95;43&#95;35.jpg")
- [ ![Snap&#95;2015-06-17&#95;at&#95;14&#95;44&#95;00.jpg](/forum/attachment/24946) ](/forum/attachment/24946 "...t&#95;14&#95;44&#95;00.jpg") [ ](/forum/attachment/24946?download=1 "...t&#95;14&#95;44&#95;00.jpg")

Last edit: 11 years 5 months ago by [fengel](/forum/user/37465-fengel "View fengel's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg3NzYwNy1jdXN0b20tZmllbGQtZmlsdGVyLWRpc3BsYXlpbmctc3BlY2lmaWMtdmFsdWVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 86576
- Thank you received: 14320
-
-

11 years 5 months ago [\#205193](#205193) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Field Filter: Displaying specific values](/forum/45-filters-search/877607-custom-field-filter-displaying-specific-values#205193 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Firefox 38.0.5  I want to restrict a custom checkbox filter to only the values I choose, but saving erases my choices.  I have created a custom field called &quot;Features&quot; and populated the values like this:  Then I created a filter based on this field:  Here, you can see that the Values entered match the &quot;Values&quot; field from the custom field. In this example, I only want the filter to show 2 choices.  But when I save, it erases the Values:  I know that numbers are accepted, but I would prefer that the values stay as alphanumeric values. Is there a way around this? I also am aware of Dynamic Display, but this solution won't help because the data will come from an external source and sync automatically with the shop. It's very possible that products will have certain Features that we don't want to show as a Filter.")*

Hi,

It's normal that the system removes your text values.
It's the way it is supposed to work.
And you already knew I would talk about Dynamic Display so I'll spare it to you ![:)](/media/kunena/emoticons/3.png ":)")

Besides changing the code to work like you want I don't see another solution.

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

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

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