• Cheat sheets
  • Documentation
  • API reference
  • Product updates
  • Sign in
Kontent.ai Learn
  • Try Kontent.ai
  • Plan
  • Set up
  • Model
  • Develop
  • Create
  • Docs
  • Accessibility in Kontent.ai
  • Collections
    • Content groups
    • Content types
    • Element validation
      • How to configure limitations
      • Use limitations as validation rules
      • Finding incomplete elements
      • Which elements can have limitations?
    • Guidelines
    • Snippets
    • Taxonomies
  • Custom apps
  • Custom elements
  • Environments
  • Keyboard shortcuts
  • Mission Control
  • Projects
  • Task management
  • Terminology

Element validation

Jan Cerman
10 minutes
Do you want to make sure your content creators know when their text is too long or a file they uploaded is too large? You can achieve this by setting limitations for elements when defining a content type.

How to configure limitations

  1. In Content model, open a content type for editing.
  2. For the element you want to limit, click .
  3. Adjust the limits to fit your needs.
  4. Click Save changes.
Setting up a content type element limitations
This is how you set up limitations and validation for a text element. Make sure to also provide guidelines while you're at it.

Use limitations as validation rules

Once you've set the limitations, they work as validation rules and provide content creators with visual cues. These limitations are visual reminders in all workflow steps before the Published step. Content creators see which elements still require work before they can publish the content item.
Incomplete asset element
Incomplete asset element that's failing validation.
When an element in a content item doesn't meet the limitations, the item can't be published. This means if someone tries to publish the item, they'll see a notification below the element.
Incomplete asset element highlighted in red
After attempting to publish a content item, incomplete elements become highlighted in red.

Validation rules for optional elements

You can also define limitations for elements that aren't set as required. For instance, you can make an asset element optional while setting its rules to accept exactly two assets. This results in your content creators being required to either leave the element empty or insert exactly two assets.

Finding incomplete elements

There is a handy notification in the content item's Content details.
Content details sidebar shows an indication which element is left incomplete
You can see if you meet the limitations by checking the “left to complete” indicator in the Details sidebar on the right.
The item will also appear in your content list as Unfinished, indicated by an orange dot.
Finding unfinished content items
You can quickly find unfinished content items with incomplete elements using the Unfinished option in the Status filter.

Which elements can have limitations?

Asset elements

By limiting the file types to Adjustable images, you can restrict formats to only jpg, png, gif, and webp. These image types support image transformation via the Delivery API.
Copyright © 2026 Kontent.ai. All rights reserved.
  • Web
  • Privacy policy
  • Cookies policy
  • Consent settings
  • Security
  • GDPR