I’m slightly stuck with something in my app and haven’t been able to find an answer.
In my app users are allowed to send emails to a list of users. Right now, users have to manually add each email address to the list of recipients.
I’m trying to figure out a solution for letting users bulk import email addresses through the UI, either through pasting them into a multiline input or by using the csv upload.
Unfortunately I’ve not been able to get either of those to work.
Does anyone have any idea of a solution, would be much appreciated!
Is each email address associated with another registered user on your system; or are the recipients (email addresses) not associated with an account on your system? And if the latter, how is the list of addresses stored? Is it a field of the User data type that is just a “list of texts”?
If I understand correctly, you need to parse a string into a list. Ideally, there’d be a built-in dynamic expression operator to split a string using a user-defined string as the delimiter; but I don’t think that’s available yet in Bubble.
However, it can be done using a simple regular expression (regex). See the following demo…