Forums » User Discussion » Modeller » Multiple Selection Constant Set

Multiple Selection Constant Set

#1 posted Thu, 01 Aug 2019, 03:12 PM

I want to set up an object with a property that allows multiple selections from a fixed list. Does this require a special property type or would it be a constant set property - and what control would allow this to work on a form?

-I'm thinking something similar to a radio group that allows multiple selections but I'm unsure if thats possible.

#2 posted Fri, 02 Aug 2019, 09:38 AM

Hi James,

That is a good question, it is easier to do than you would think.

Firstly - On your Constant Set you will need to tick "Allow Multiple Selections (Flag Based)". This will make your choices incriment in powers of 2 (1, 2, 4, 8, 16 etc) and is then stored as the sum of what has been selected. For example 10 can ONLY be made from 8 and 2.

 

Secondly - The control you will need is the "Checkbox Group". This shows all of your options as a collection of checkboxes. If you have a lot of options I would suggest using the "Columns" setting so it presents them in a tidier fashion.

Shaun