Checkbox list on a form - possible?

Hi,
Is there a way to implement the equivalent of a checkbox list from a dialog, on a form? I am reffering to a list of checkboxes, with display values from a custom valuelist, with return value as an array of checked checkboxes. I am mentioning that i am using Servoy 3.5.7. Thank you in advance.

DB

You can place a global text field in the form, select the checkboxes displaytype and attach a custom valuelist to it, the only downside is that if you are displaying text and storing integers in the database you will have to parse the global content to transform it to int, have a look at the parseInt() function.

Thank you for your answer!
Could you please tell me if there is a way I can preselect the checkboxes?

DB

Yes, you can try to prefill your global field withs these example values:

0\n1\n3

If the attached valuelist looks like this:

Yellow|0
Red|1
White|2
Green|3

You should see the yellow, red and green values checked.

Thank you so much! I struggled with this for a log time, thank you very much! :D
DB

I have run my test application in the Web Client and the checkboxes are not aligned to the left like i set them from the property pannel from Servoy. Below is how the image looks.
Is there a way to align them?
D.B.

Try to set the horizontal scrollbar to none.

It works, thank you again Nicola! :)