- Posts: 73
- Thank you received: 0
Hints for "custom fields" needed
11 years 5 months ago #204506
by sokartch
Hints for "custom fields" needed was created by sokartch
-- 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.
-- 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 or Create an account to join the conversation.
11 years 5 months ago #204534
by nicolas
Replied by nicolas on topic Hints for "custom fields" needed
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 & 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.
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 & 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 or Create an account to join the conversation.
11 years 5 months ago #204561
by sokartch
Replied by sokartch on topic Hints for "custom fields" needed
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".
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 or Create an account to join the conversation.
11 years 5 months ago #204574
by nicolas
Replied by nicolas on topic Hints for "custom fields" needed
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.
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 or Create an account to join the conversation.
Time to create page: 0.045 seconds