Multi option datatype

Author Message

Martin Crockett

Tuesday 21 December 2004 3:36:49 am

Hi,

I'm trying to find some documentation to describe the use of the multi option datatype but there appears to be very little online.

My problem is I need a select box which allows multiple options to be selected. I assume the multi option datatype is the right one to handle this.

Can anyone assist in pointing me to the right way of setting one of my article classes up to use this datatype?

Many thanks in advance!

Martin Crockett

Tuesday 21 December 2004 3:44:04 am

Scratch that - think I need to use the Selection datatype!

Frederik Holljen

Tuesday 21 December 2004 4:16:35 am

You are right.
The multioption datatype is to create multiple options. E.g imagine that you have a car class, but that you don't know what kind of colors, tires etc. that each type of car can have. With the multioption type you can set this per car. E.g car one can have options:
[color]
-red
-green
-blue

[tires]
- slicks
- Winter tires

the second car can have options
[type]
- convertible
- dragster

[color]
- red
- black with flames

[extra's]
- spoiler
- airco
- dice

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.