Multiple values in custom attribute?

Hey all, I was wondering if there was a way to delineate multiple values in a custom attribute? for instance

red, blue

I have tried several ways and all didn’t seem to work.

thanks!

@mattverdini - do you mean in the cms or in an html data attribute?

in the html data entry. i am using the fsweet filtering option for cms and was trying to make a button that had a filter-by entry of several values

1 Like

Hey Matt, did you figure out the solution to this? I’ve run into the same problem.

@mattverdini @Pranav_Kastury - slow response on my end here, but take a look at this and let me know if that is helpful:

Essentially the answer is kind of, you can put any string you want in, but you’ll have to split the string using JavaScript to have multiple values if that makes sense.