DocsForm validation · FQL
On this page

Validate files before saving

Validate a post and its files before uploading.

Before you begin: Validate a form.

Validate Post Data Before Upload

File rules work alongside normal string, number, object, and array rules.

index.html
js

Reference excerpt: use this with the page, variables and functions described in this guide. Try a complete example →

maxSize and mimeTypes can be checked immediately from the selected file. maxDurationSeconds keeps your client schema aligned with the FRL video playback cap. If an uploaded video is longer than the allowed duration, Frontbacked prepares playback from the beginning up to that limit.

Continue with Customize validation feedback.