Comma Separated Lists

What I’m attempting to do is
A) get the user to input a comma-separated list
B) only allow the input when there are 5 elements in the list

I’ve tried googling around and I can’t see anything that would explain how to do that.

You can use an “Extract with Regex” to convert the input into a list and do a :count

`

[^,\s][^\,]*[^,\s]*

`

1 Like

Thank you,

I’ll definitely use that next time. Unfortunately the ship for the app I was attempting to quickly throw together sailed last night. I was being overly optimistic as to how much bubble was going to simplify the design process.

This topic was automatically closed after 70 days. New replies are no longer allowed.