VirtueMart 2 > Product creation

Custom Fields: Is a List

(1/2) > >>

OpenGlobal:
What is this feature for? It doesn't seem to do anything other than turn the field into a useless empty "list". I can't find any way of populating the list other than by giving a default value. but that gives the option of the default or nothing at all.

How do we just create a dropdown list of options?

OpenGlobal:
The Is a List option isn't even mentioned in the "documentation":

http://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_without_stock_control

OpenGlobal:
Anyone?

OpenGlobal:
Ah ha! Thanks to firebug and trawling through the code, I've managed to work this out.

If using "Is a List" to create a drop down list, the "Default" field becomes the "Possible Values" field. You put in the possible values separated by a ';'.

The question now then, how do you specify a default value if the "Default" field is being used for something else? Looking at the code, it seems this functionality is absent.

PRO:
openglobal, thats when you put the default value 1st in the list

Navigation

[0] Message Index

[#] Next page

Go to full version