☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

max_words

Table of contents

Description:

This key defines the maximum string length, in words, that CloudCannon will allow in an Input. When configured, CloudCannon will warn you when an Input value is too long. If the Input already contains a longer value, CloudCannon will require you to remove characters until the Input contains a valid string to save your changes, or discard your unsaved changes.

Appears in:
└── _inputs
    └── *
        ├── Text Input
        │   └── options
        │       └── max_words
        ├── Textarea Input
        │   └── options
        │       └── max_words
        ├── Code Input
        │   └── options
        │       └── max_words
        ├── Color Input
        │   └── options
        │       └── max_words
        ├── Rich Text Input
        │   └── options
        │       └── max_words
        ├── File Input
        │   └── options
        │       └── max_words
        ├── URL Input
        │   └── options
        │       └── max_words
        ├── Select Input
        │   └── options
        │       └── max_words
        └── Choice Input
            └── options
                └── max_words
Type:
number
Examples:
Open in a new tab