[WordPress] 外掛分享: File Upload Field for Formidable Forms (lite)

首頁外掛目錄 › File Upload Field for Formidable Forms (lite)
WordPress 外掛 File Upload Field for Formidable Forms (lite) 的封面圖片
100+
安裝啟用
★★★☆☆
3/5 分(3 則評價)
9 天前
最後更新
問題解決
WordPress 5.2+ PHP 7.2+ v1.2.1 上架:2022-12-05

內容簡介

File Upload Field for Formidable Forms (lite) 外掛允許使用者在 Formidable Forms 中輕鬆新增檔案上傳欄位,無需購買專業版。此外掛提供多種自訂選項,讓使用者能夠靈活管理上傳的檔案。

【主要功能】
• 一鍵新增上傳欄位至表單
• 自訂上傳欄位設定選單
• 支援在單一表單中添加多個上傳欄位
• 可設定檔案大小限制
• 可編輯允許的檔案類型(如 jpg, png, pdf)
• 檔案類型及大小的驗證

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「File Upload Field for Formidable Forms (lite)」→ 直接安裝(推薦)

原文外掛簡介

File Upload Field for Formidable Forms (lite) plugin consists of one module:

Upload Field

Upload Field Description and features:
Allows you to add a custom upload field in your forms with a free version of formidable forms. As the upload field comes in the pro version of formidable forms now you don’t have to worry about purchasing the pro version you will get the upload field using our “File Upload Field for Formidable Forms (lite)” plugin.
• Single click addition of upload field in the form
• Custom upload field settings menu in the form
• Allows you to add multiple upload fields in one single form
• Allows you to set the file size limit.
• Can edit and change the allowed file type i.e jpg, png, pdf
• Validation on file type and maximum file size.
• You can check the uploaded files in the wordpress media gallery
• Can check the uploaded files in the form entries tables.
Using File Upload Field for Formidable Forms (lite)
To get started download and install the File Upload Field for Formidable Forms (lite) from plugin. Once the plugin is downloaded, activate it and you will see the Upload Field in your forms created by formidable forms plugin only. Click on the upload field option and the field will be added to your desired form without any hassle.
Requirements to use File Upload Field for Formidable Forms (lite)
You must have Formidable forms plugin installed on your WordPress website. Compatible with Formidable forms version 5.2 and above.
See the plugin in action
Need more custom features? Feel free to contact us to discuss @ [email protected]

Author: Desol Int.

License
File Upload Field for Formidable Forms (lite) is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
any later version.
File Upload Field for Formidable Forms (lite) is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with File Upload Field for Formidable Forms (lite). If not, see http://www.gnu.org/licenses/gpl-2.0.html.
What’s New in Version 1.2.1
Modern Upload UI

New drag-and-drop upload zone with visual feedback (hover, active, success states).
Custom styled “Browse Files” button with smooth transitions.
Accepted file types and max size hint displayed below the upload area.

Upload Progress & Feedback

Real-time animated progress bar during file upload.
Percentage display with color gradient (blue to green on completion).
Success state with green border animation on upload complete.

File Preview

Image thumbnail preview (auto-generated via FileReader API).
File type icons for non-image files (PDF, DOC, etc.) with extension label.
File name and formatted size display (KB/MB/GB).

File Management

Remove button (X) with hover rotation animation.
Confirmation dialog before removing uploaded files.
One-click reset of upload area, progress, and preview.

Builder Settings Upgrade

File types now shown as interactive chips (click to toggle, X to remove).
Add new file types by typing and pressing Enter.
Styled preview in form builder showing how the upload field will look.

Responsive Design

Fully responsive across desktop, tablet, and mobile.
Mobile-optimized: compact layout with button-only (no drag-drop on touch devices).
Smooth animations and transitions throughout.

Technical

Proper WordPress asset enqueue system (CSS + JS loaded only when needed).
AJAX-based uploads with nonce verification.
Client-side file validation (type + size) before server upload.
No jQuery dependency — pure vanilla JavaScript.

What’s New in Version 1.2.0
Security Enhancements

All file uploads are now sanitized to prevent malicious file uploads.
Nonce verification added to prevent CSRF attacks.
XSS vulnerabilities fixed in file URL rendering.
Proper capability checks before processing uploads.

Code Quality Improvements

Fixed cross-platform path separator issue (works on Windows & Linux).
Corrected text domain for proper WordPress translation support.
Aligned default file size limits across all functions.
Improved error handling with proper WP_Error checks.
Fixed byte-to-MB calculation for accurate file size validation.

Developer Features

Added filter hooks for customization: ufl_allowed_file_types, ufl_max_file_size.
Added action hooks: ufl_before_file_upload, ufl_after_file_upload.
See IMPROVEMENTS.md for full analysis and roadmap.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon