I’m trying to implement bullet points to a list of text which is separated by commas . I’m exporting this data via JSON and all the things I’ve tried work by searching and replacing characters in some way which means the very first item of the list doesn’t get a bullet point - not that these options work. They seem to just substitute the commas with a \• where ever a commas was which means the output isn’t quite correct JSON format.
I’m looking for a robust way I can turn lists into proper bullet point lists that would be exported in a correct JSON format, ideally via Bubble’s expressions.
I have tried: extract with regex, format as text using delimiter, and join with.
Can try these again as might have been doing them incorrectly, but output didn’t look right when viewing in JSON editor.
Here’s what one of the attempts looked like:
"Day 5\• Day 15",
My research shows its supposed to be something like this?
Thanks, all works up until the new line break. It still presents everything on single line, but with the bullet points in.
It’s a good workaround, but Word does not recognise these as actual bullet points if you know what I mean, and I don’t think it will unless the JSON is completely re-structured.
If the ultimate recipient of the JSON-formattted content is a Word document, then you need to figure out what markup (e.g., HTML?, something specific to Word?) is required to ensure Word applies actual list formatting (instead of simulated list formatting represented by a hard-coded bullet character).
Yes, with this line of thinking I have left it to the user to enter bullet points if they want to use it in the rich text editor. These are coded in HTML so it translates to Word very well and is picked up as a list of bullet points as intended. If they don’t use bullet points and use hyphens instead they will immediately see this hasn’t translated into a list as intended in the final Word file so hopefully they’d go back and easily rectify.