#Correct type to use for holding a lengthy list

1 messages · Page 1 of 1 (latest)

fluid junco
#

Hi all

I would like to maintain a list in Umbraco which not only looks pleasing to the eye but also easy to maintain.

The purpose of the list is to add some names. The user should be able to add names but I need to be able to separate them out so I can take necessary actions in code at a later stage.

At present I'm using a regular textString type where the user can add names in the format

Adam; bob; Charlie; David

If the user doesn't add ; then it's considered as part of the same name. As you can imagine this could eventually get messy. I can't find any control which would add these names as a list without the user having to add ; in order to separate the name.

Is there any control I could use to do this?

silent smelt
#

I apologize if I haven’t fully understood the use case, but it sounds like you could just use the Repeatable TextString datatype.

If it needs to be a bit more complex or refined, you could use BlockList, or take a look at the Contentment package and see if it fits your scenario.

fluid junco