Open Logical Forms → Settings → Messages → File Upload to change the default validation text used by fields across the current site. This changes the explanation visitors see when an answer fails a rule.
Edit and save the messages
- Open the File Upload category under Messages.
- Enter plain text in the messages you want to customize.
- Keep any supported placeholders exactly as shown beside the control.
- Select Save settings and check the saved result.
Each category saves its own controls while retaining the other categories. If another administrator changes the settings while your page is open, reload before applying a stale draft.
Available messages
| Control | When it applies | Supported placeholders |
|---|---|---|
| Invalid file | File value cannot be accepted | None |
| File type or size | File violates the configured type or size limit | {types}, {size} |
| File count | Too many files selected | {max} |
| Upload failure | The upload could not finish | None |
Use the wording in context
A form can have different allowed types and maximum sizes on different upload fields. Use the supported tokens instead of hard-coding PDF or a size into the site-wide wording. For example, Choose {types} files up to {size}. keeps the message tied to the field's actual configuration.
A technical upload failure is different from a deliberately disallowed file. Use a retry message for Upload failure, and explain the allowed types and size for File type or size. Changing the text does not increase the host's upload capacity or bypass the field's restrictions.
Field overrides and blank values
A field's own custom validation message takes priority where that override is supported. Leave a site-wide message blank to use the translated plugin default. For field-specific invalid formats, the general Invalid value override can supply a fallback when the more specific site-wide message is blank.
Messages accept plain text up to 1,000 characters. They do not execute HTML, shortcodes or email merge tags. Only the contextual placeholders listed for that control are substituted. Keep braces and spelling unchanged: {min} and {max} refer to different values.
Verify a real validation result
Save a form with the relevant rule, open its embedded page and try an answer that violates it. Confirm the message describes the actual correction. Then enter a valid answer. The message setting does not enable, disable or change the validation rule itself.
Check General → Layout if you want to place messages above or below the inputs. See test a form for a controlled validation and submission checklist.
