For the complete documentation index, see llms.txt. This page is also available as Markdown.

Attachment

Let visitors attach files to a form submission

Attachment adds a drag-and-drop file field to a Form. It can accept one or several files, restrict file categories, enforce a per-file size limit, and show removable previews.

How to Use Attachment

You’ll find Attachment under Forms in the Components list.

  1. Place Attachment inside a Form.

  2. Enter a short, unique Name.

  3. Choose whether it accepts Multiple files.

  4. Select the accepted file category and maximum size.

  5. Edit the drop-zone and button text on the canvas.

  6. Publish and test with files that should pass and fail.

Component Settings

Settings

Required is off by default.

Name identifies the uploaded field. It is blank by default. Use letters, numbers, hyphens, or underscores.

Multiple is off by default. Enable it to accept more than one file.

Accept is not responsive and defaults to All File Types. Options are:

  • All File Types

  • Images

  • Videos

  • Audio

  • Documents

  • Zip

Documents include common PDF, Word, Excel, and PowerPoint formats. Zip includes ZIP and 7z-compatible archive types.

Max File Size is measured in megabytes per file and defaults to 2.

Content Layout

Alignment offers Start, Centre, or End and defaults to Centre.

Gap defaults to theme spacing 4.

Button Color defaults to Brand 500.

File Previews

Preview in Edit → Enabled is on by default and shows a sample preview while designing.

Preview styling defaults:

  • Thumbnail — Theme spacing 10.

  • Background — Surface 50.

  • Close — Red 500.

  • Border Color — Surface 50.

Set Border Width and Radius using their Theme Studio controls.

Accessibility

Keep the Select Files text descriptive, state accepted formats and maximum size near the field, and do not communicate upload errors through colour alone.

Troubleshooting

A file is rejected

Check Accept and Max File Size. The browser supplies the file’s MIME type, which must match the selected category.

Only one file is retained

Enable Multiple and use Email delivery when every selected file must be sent.

  • Form — Configures delivery and validation.

  • Error — Displays form-level failure feedback.

  • Submit — Provides the clickable submission control.

Common Control
Description

Link

Link to a page, resource, anchor, email address, or website.

Layout

Control positioning, stacking, visibility, overflow, and isolation.

Sizing

Set width, height, and responsive size constraints.

Spacing

Add responsive margin and padding.

Typography & Text Styles

Control fonts, text spacing, decoration, colour, and semantic wrappers.

Backgrounds

Apply colour, image, gradient, SVG, video, and hover backgrounds.

Transitions

Choose what animates and set its timing curve, duration, and delay.

Effects

Apply shadows, opacity, and hover effects.

Filters

Apply blur, brightness, saturation, shadow, and backdrop effects.

Transforms

Scale, rotate, move, and skew components.

Borders

Set border style, colour, opacity, width, radius, and hover states.

Advanced

Add CSS classes and IDs, or change supported HTML tags.

Last updated

Was this helpful?