question about a custom field not selecting standard value

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
4 years 11 months ago #313899

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.x.x
-- Error-message(debug-mod must be tuned on) -- : custom field value not working properly

Hello,
We have made two custom fields with value's but don't want a standard value selected.. But this only can be done when putting a blank field on top of al values.
See screenshots of what i mean.



Hope you can help
Thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
4 years 11 months ago #313901

Hi,

I'm not sure what you're trying to achieve. A dropdown always have to have a value selected. It's not possible to not have a value selected.
Even in HTML, if you don't add the "selected" attribute to any option of a dropdown, the browser will automatically select the first option of the dropdown.
So yes, adding empty value (or a "please select" value or something similar) is often done in such case.

Then, you're talking about "the list on front end". What is that list ? Are you talking about a listing of products ? A filter based on that custom field ? Something else ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum