header-logo
Learn how to use Wix to build your site and business.
Design and manage your site using intuitive Wix features.
Manage subscriptions, plans and invoices.
Run your business and connect with members.
Learn to purchase, connect or transfer a domain to your site.
Get tools to grow your business and web presence.
Boost your visibility with SEO and marketing tools.
Get advanced features to help you work more efficiently.
Find solutions, learn about known issues or contact us.
placeholder-preview-image
Improve your skills with our courses and tutorials.
Get tips for web design, marketing and more.
Learn to increase organic site traffic from search engines.
Build a custom site using our full-stack platform.
Get matched with a specialist to help you reach your goals.
placeholder-preview-image
In this article
  • Content limitations for each collection field type
  • FAQs

CMS: Supported Content in Collection Field Types

6 min
In this article
  • Content limitations for each collection field type
  • FAQs
In your CMS (Content Management System) collections, the field type determines what kind of content you can store in the field. For example, you cannot store alphabetic letters in the 'Number' field type reserved for numbers only. The field type also determines which site elements can connect to the field
Note:
When you upload files to your collection—such as images, videos, or documents—they are stored in the Wix Media Manager. The CMS stores the link (URL) to these files. Therefore, the supported file types and size limits for your collection fields match the limits of the Wix Media Manager.

Content limitations for each collection field type

View each field type's content limitations in the table below:
Field type
Supported content and limits
Text
Store plain text for use with titles, descriptions, and other text-based content.
Image
Store image files supported by the Media Manager (e.g. JPG, PNG, SVG, GIF). View supported files and size limits.
Tip: You can add images to the fields by pasting their image URLs in the fields.
Boolean
Store binary "true" or "false" values that appear as checkboxes in the collection fields. You can only use the boolean field type with the checkbox user input.
Number
Store numerical data for various purposes (e.g. quantity, price, dimensions). You can save any value from -2147483647 to 2147483647.
Date
Use date and optional time values to display them on your site, save user inputs, or both. Add the date picker user input element if you want site visitors to submit dates to your collection.

In your collection, the date field displays in the following format: Month, Day, Year (e.g. Feb 14, 2024)

The optional time value displays after the date in a 12-hour format: HH:MM:AM/PM (e.g. 11:30:PM)

When you connect the date field to an element on your site, you can choose to display the date and time in another format (e.g. Short, Medium, Long, or Full date).    

To import date and time content into a collection, the value in the source file must precisely match one of the following formats: 
  • MM/DD/YYYY HH:mm (Recommended)
  • YYYY-MM-DDTHH:mm
  • DD/MM/YYYY HH:mm
Please note the different separators used in each option.

Velo: When creating a 'Date' field in your collection, if you include the time field, the data is treated as a date field (object). However, if you do not include the time field, the data is treated as a type of string. 
Time
Store time information for associated items independently of the date.
The time is stored in the following format: HH:mm:ss

HH: Hours in 24-hour format (16:00, not 4:00) 
mm: Minutes 

Examples: 16:45, 16:45
Rich Content
Create and manage content with rich text formatting, media embeds, and other advanced features directly in your CMS. 

Rich Text
Create and manage text using formatting options, directly in your CMS. 
Reference
Create a relationship between content items by referencing another content item. This field can only be used to reference an item stored in another collection. 
URL
Store web addresses to use as links. You can use the following formats only: http://, https://, ftp://, mailto:, sms:, tel:

Web addresses must be in the format http:// or https://. Entries that start with www. are automatically converted to http://.
Document
Store single document or archive files (e.g. PDF, DOC, ZIP) supported by the Media Manager. You cannot upload password protected documents. View supported files and size limits.

Tip: You can add documents by pasting their URLs in the collection fields.
Multi Document
Store multiple document or archive files (e.g. PDF, ZIP) for each collection item. Connect the upload button input element to the 'Multi Document' field type to let visitors upload several files at once to your collection. View supported files and size limits.

Tip: You can add multiple documents by pasting their URLs in the collection fields.
Video
Store single video files supported by the Media Manager (e.g. AVI, MPEG, MP4, MOV). View supported files and size limits.
Audio
Store single audio files supported by the Media Manager (e.g. AAC, AIF, FLAC, MP3, WAV). View supported files and size limits.
Address
Store structured data for physical addresses such as street names, city, state/province, postal code, and country. 
Tags
Manage and categorize content items using keywords or descriptive labels. You can use this field to apply tags to an item or allow visitors to submit selections from a multi checkbox element. 
Array
Input and manage multiple values within a single field. You can use the 'Array' field type to handle a collection of related data, such as a list of options, tags, or other sets of related values. 

Allows turning a string into an "array" data type in JavaScript while working with a collection via API.

Note: The value in Object and Array fields has to be a valid JSON, entering anything else results in saving a string. JavaScript does not require putting field names in quotes, JSON does. 
For example: 
[
 { "rating": "rating 1", "value": 1 },
 { "rating": "rating 2", "value": 2 }
]
Object
Manage complex and structured data using custom objects or data structures. You can use the 'Object' field type to store and organize multiple related pieces of data as a single unit. 

This allows you to turn a string into an "object" data type in JavaScript while working with a collection via API.

Note: Object Keys that start with "$" are not supported by the 'Object' field type.
Media Gallery
Store multiple images or videos supported by the Media Manager for each item. View supported files and size limits.
Color
Store HEX numbers that represent colors in each field. 

FAQs

Click below for answers to common questions about the supported content in each field type. 

Helpmate

Hello

Need a bit more guidance?
Summary of this article
Related articles
CMS: About User Input Elements

CMS: Connecting Elements to a Collection Using a Dataset

CMS: Connection Options and Supported Collection Fields for Each Element

CMS: Troubleshooting User Input Element Issues
Unlock personalized helpLog in to get the most out of Helpmate.