Connect multi select to database

Hi all,

i am building an user input form to get info from the users to a database. One field is a multi selection checkbox. I wanted to connect this to a multi reference field in my collection.
How can i do that? If i click the “connect to data” icon on the multi selection element, every field in my collection is not available to select.

thanks for the support.

1 Like

Hi @gerco have you come up with a solution to this? I just came across the same, solved it by using a tags field type in the databse (collection) field.

Hi plon, unfortunately not…this could be a very useful feature for handling and sorting databases based on multi fields, but no one seems to care. I would be happy to hear your fix on that, thanks!

As I wrote, I added a “tags” type field in the database/collection. That was available for select. Please let me know whether that works for you.

I had the same issue so I went to my database collection and changed the field type from “text” to “tags” and that did the trick. Thanks!

This is an old post and being closed.

You can easily find the solution for this issue here if you look at user input fields in the Wix Support pages and see that the checkbox group uses the tags field in the dataset.
https://support.wix.com/en/article/about-user-input-elements

User Input Element
Checkbox Group

Description
Checkbox Group allow visitors to make multiple selections.

A checkbox group have a label (text displayed on your page) and a value (data stored in your collection). The options selected (values) by a visitor are saved as a batch of text separated by commas.

Connects to
Tags Field

For code use see the Wix API Reference here.
https://www.wix.com/corvid/reference/$w.CheckboxGroup.html