Content Manager: Field Type Support and Limitations in Collections
Display content on your site by connecting page elements to fields in a collection. The type of field you use determines the type of content you can store in that field. This article covers the limitations of each of the available field types.
Learn more about creating collections with the Content Manager and user input elements.
The following limitations apply to the different field types:
Field Type | Limitations |
---|---|
Text | None |
Image | You can use .jpg, .png, .svg and .gif files only. You can also add a link to an image. You can connect image elements, page backgrounds, repeater item backgrounds, and column backgrounds (in strips) to Image fields. Max size: 25 MB |
Boolean | You can only use the boolean field type with the Checkbox user input. |
Number | -2147483647 to 2147483647 |
Date and Time | Date must be selected from a drop-down calendar. In the Content Manager, the time setting is displayed in 12-hour format, HH:MM:AM/PM. Example: 9:20PM Use the Connect to Data panel in the Editor if you want to display the format differently on your live site. Learn more about connecting elements to a collection field. To import date and time content into a collection, the value in the source file must precisely match one of the following:
Please note the different separators used in each option. |
Time | Time must be in the following format: HH:mm:ss.SSS HH: Hours in 24-hour format (16:00, not 4:00) mm: Minutes ss: Seconds (optional) SSS: Milliseconds (optional) Examples: 16:45, 16:45:12:345 |
Rich Content | You can only use this field for rich content. Learn more about the rich content field type and how to connect to it. |
Rich Text | None |
Reference | You can only use this field to specify an item with the Content Manager interface (select from the list or paste a value). Must be an item that is stored in the referenced collection. |
URL | 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 | You can use the following formats only: doc & .docx, .xls & .xlsx, .ppt & .pptx, .odt, .odp, and .pdf. You cannot upload password protected documents. You can connect elements to document fields to allow your visitors to upload or download collection documents. Max size: 25 MB |
Multi Document | This field type is only used for site visitors to upload more than one document at a time using the upload button. You can set up the upload button for multiple image and video files, but the multiple document option is not available to everyone yet. |
Video |
You can also add a link to a video. You can connect your video fields to the Single Video Player to play the videos. You can even connect the videos in the video fields to your page's background, or to the background of a Strip's column. Max size: 1GB |
Audio | You can use the following formats only: .aac, .aif, .aiff, .flac, .m4a, .mp3, .wav, .wma. Max size: 50 MB Wix Audio Player: Number of channels: 1 (mono) or 2 (stereo). |
Address | Accepts text from User Input elements. Displays text (address) from your collection. |
Tags | You can only use this field to apply a tag (or tags) to an item, or allow site visitors to submit selections from a multi checkbox element. |
Array | 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. Example: [ { "rating": "rating 1", "value": 1 }, { "rating": "rating 2", "value": 2 } ] |
Object | Allows turning 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" type. |
Media Gallery | You can use the following formats only: .jpg, .png, .svg and .gif. You can connect a gallery element to a Media Gallery field. Max size of each image: 25 MB |
Note:
The maximum size for a single item in a collection is 0.5 MB. The size of an item is based on how much data it contains, such as text and numbers. Content such as images, documents, and videos do not count towards this limit.
Did this help?
|