How do I make a space delimited list using a TV and several checkboxes? I put the widget on to delimited list and put a "space" in there, but it defaults back to a comma. I have also put in " " in the delimiter field and while this produces spaces, when I call the TV [*tvname*] it doesn’t word wrap. It’s as if it’s treating the spaces as one long word.
Is there another way to get space delimiters?
-
☆ A M B ☆
- 24,524 Posts
I’m not sure if that will work, as I was using this for tagging and I think the values need to be stored with a real space instead of a fake &nsbp;.
I could let the user enter their own tags, but to prevent user input errors I hope the checkbox approach would have worked as there is a limited set of tags to apply.
Is there some other way I could get a space delimited list while restricting what the user can enter in?
I don’t know what you want to do with this space-delimited list.
But, if it’s for outputting at frontend you can create a simple snippet, which converts commas to spaces.
Or use a special unique placeholder as delimitter and replace them per plugin with spaces.
Working on this same problem right now.
Made it in a way that the tags I check will go in my class which will be used in a jQuery script.
Anyone knows a solution about this?
That doesn’t work cause it automatically gives the delimiter an ’ ..