how to select multiple rows in a table?

Hi,
what i’m trying to achieve is letting people who are in the site the option to search for values in a collection, the result is then showed in a table, then i want to give the user an option to select some rows from the table, by clicking the rows, or by simply checking a check box in the table (which i didn’t find a way to add) and then i want to do some action on the data of the rows they selected (for example: let’s say the data from the collection are people’s contact information, and after they select 5 people from the result table, i will send an email to those 5 people)

thanks you in advance,
Eliran

Why not simply try a field in the table that the user can select as a boolean type and then combine them into one field in a dataset.

Nayeli (Code Queen) has a great tutorial and youtube video about how to do this.
https://codequeen.wixsite.com/checkboxes
https://www.youtube.com/watch?v=kc1YBFG2tXA
onMouseIn and onClick options are given in the code.

Then you can use that new dataset field’s info to do whatever you choose, like sending a triggered email to the chosen users email address.

If you look at the Table API reference you can already do things with cell or row selected.
https://www.wix.com/corvid/reference/$w.Table.html
https://www.wix.com/corvid/reference/$w.TableCellEvent.html
https://www.wix.com/corvid/reference/$w.TableRowEvent.html

How is that the same? What am i missing? Do you mean storing the tags in a Json?

In the dataset you can have a tags field however that is for checkbox groups.
https://support.wix.com/en/article/about-your-database-collection-fields
Checkbox Groups can only connect to Tags fields.
https://support.wix.com/en/article/about-user-input-elements
So that is how you have to store your multiple tags in the dataset field.

You have a workaround like in this previous form post.
https://www.wix.com/corvid/forum/community-discussion/can-i-create-tags-to-filter-an-index-page

Also, have a read of this previous post too about multiple selections as one forum user replies about using tags on page 2.
https://www.wix.com/corvid/forum/corvid-tips-and-updates/you-can-now-add-multiple-items-to-reference-field-type
Doug Hoag Apr 4
It seems like Wix is very close to having an input solution with the User Input Object “Multiple Selections”, however it only works with field type “Tags”. Unfortunately “Tags” do not offer the same filtering options as references.

Might be no good to you, however you can already attach tags to files in your Wix Media Manager.
https://support.wix.com/en/article/adding-tags-to-your-files