Doing more with lists in Contentful

Published on February 27, 2014

BlankWaves-08

Subscribe for updates

Build better digital experiences with Contentful updates direct to your inbox.

If you are working on the app that is meant to disrupt NYC real estate market, sell some handmade jewelry on Etsy or simply publish a book of Aunt Molly's recipes online, the chances are you will need to use lists to organize your data. And up to now, lists were something conspicuously absent from the content editor on Contentful.

Well, we are happy to tell you that our software engineers took care of this glaring omission in the latest development iteration. As a result, Contentful makes it extremely simple to enter pre-defined information in your entry fields. To enable lists in your content type, you'll need to add a "pre-defined values" validation rule in the field type settings. After that simply enter list values one by one.

Content Type editor

We know that it might take a while to get the right order for your list, so we made sure that you can play around with list values by dragging and dropping them around or simply eliminating unnecessary options with one click of a mouse.

Once the content type is published, your editors will see standard drop-down menus and can easily chose the appropriate value from there. And remember, lists are not limited to text fields, you could just as easily have lists for numbers or symbols.

Entry dropdown

That is all hunky dory, you might say, but what about giving my editors an option of choosing multiple values from the list? Unfortunately, so far we do not permit lists with multiple choices within the editor. Mostly because introducing such an option at this point in time would require a lot of mental juggling on behalf of content type creators and thus might accidentally rip the space-time continuum on our platform.

However, you can easily deal with this limitation and the fact that we currently impose the limit of 50 entries per list by opting for the "Multiple Entries" field type instead. Once you do, just create all required choices as entries and your editors will be able to select an unlimited number of these as they create new content.

We hope this feature will make your life a tad more enjoyable and it goes without saying that we would love to hear what you think about it.

Subscribe for updates

Build better digital experiences with Contentful updates direct to your inbox.

Related articles

With over 151 partners and customers representing 85 brands, the Fast Forward London Roadshow was a packed house of great conversation and positive vibes.
News

Fast Forward London: A festival of content (and football)

December 2, 2022

Welcome to the Integration Roundup, where we spotlight new integrations added to the Contentful Marketplace and the terrific benefits they bring to users.
News

Integration roundup: The Vercel App and Contentful Content Link for Vercel

August 22, 2024

Illustration of three bastract lines coming to endpoints, representing new API endpoints
News

New API endpoints for managing content at scale

April 6, 2021

Contentful Logo 2.5 Dark

Ready to start building?

Put everything you learned into action. Create and publish your content with Contentful — no credit card required.

Get started