Convert this to work with Wix Code?

It’s really only for the values to get to the dataset, also useful to make sure the correct selections have been made but that’s not it’s purpose.

I have been trying for a while to get selected checkbox values into the same cell for a while. I have another thread using a different method but I couldn’t figure it out so I thought I’d try another method. This is the other thread in case it’s the better method.