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

#   Hints for "custom fields" needed

##

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

Less More

- Posts: 73
- Thank you received: 0
-
-

11 years 5 months ago [\#204506](#204506) by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")  *[Hints for "custom fields" needed](/forum/27-checkout/877467-hints-for-custom-fields-needed#204506 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.38  Hello  1. Is there a way to alphabetically sort Simple dropdown lists?  2. If user will &quot;use&quot; default values (custom fields), I need to generate message &quot;Please enter a value for the ... field&quot;. Please give me one hint which View must be edited... This for Text or Simple Drop down.  Thank you.")* was created by *[sokartch](/forum/user/4482-sokartch "View sokartch's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4.38

Hello

1. Is there a way to alphabetically sort Simple dropdown lists?

2. If user will "use" default values (custom fields), I need to generate message "Please enter a value for the ... field". Please give me one hint which View must be edited...
This for Text or Simple Drop down.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzQ2Ny1oaW50cy1mb3ItY3VzdG9tLWZpZWxkcy1uZWVkZWQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 5 months ago [\#204534](#204534) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hints for "custom fields" needed](/forum/27-checkout/877467-hints-for-custom-fields-needed#204534 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.38  Hello  1. Is there a way to alphabetically sort Simple dropdown lists?  2. If user will &quot;use&quot; default values (custom fields), I need to generate message &quot;Please enter a value for the ... field&quot;. Please give me one hint which View must be edited... This for Text or Simple Drop down.  Thank you.")*

Hi,

1. No. You would have to delete the values and add them again in the correct order.
Next version of HikaShop will introduce a drag &amp; drop feature for the custom field values so that you'll be able to easily reorder them.

2. There is no need to edit any code. This is already possible by default. Simply don't enter any "value" for your default choice and turn on the "required" option of the field and that's it.

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

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

Less More

- Posts: 73
- Thank you received: 0
-
-

11 years 5 months ago [\#204561](#204561) by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")  Replied by *[sokartch](/forum/user/4482-sokartch "View sokartch's Profile")* on topic *[Hints for "custom fields" needed](/forum/27-checkout/877467-hints-for-custom-fields-needed#204561 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.38  Hello  1. Is there a way to alphabetically sort Simple dropdown lists?  2. If user will &quot;use&quot; default values (custom fields), I need to generate message &quot;Please enter a value for the ... field&quot;. Please give me one hint which View must be edited... This for Text or Simple Drop down.  Thank you.")*

1. OK, I live with it. Get it now enter in the order.

2. Dropdown:
In my case there is no default value, the customer must choose an option. So the default is "Please select".

2. Text:
Your suggestion works when default is empty and the field is configured as "reguired". But when I there configure an example input I can not do it.

2. Probably another option in the configuration should be implemented "Use default Yes/No".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzQ2Ny1oaW50cy1mb3ItY3VzdG9tLWZpZWxkcy1uZWVkZWQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 5 months ago [\#204574](#204574) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hints for "custom fields" needed](/forum/27-checkout/877467-hints-for-custom-fields-needed#204574 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.38  Hello  1. Is there a way to alphabetically sort Simple dropdown lists?  2. If user will &quot;use&quot; default values (custom fields), I need to generate message &quot;Please enter a value for the ... field&quot;. Please give me one hint which View must be edited... This for Text or Simple Drop down.  Thank you.")*

Hi,

2. When you add a choice to a custom field, you have two fields:value and title.
Value is what is checked by the system, title is what is displayed to the user.
So simply keep empty the value and enter "please select" in the title (as I was trying to explain in my previous message) and it will work exactly like you want, without any extra code, on any extra option.

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

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