rfuehricht/formhandler-ajax
最新稳定版本:13.0.1
Composer 安装命令:
composer require rfuehricht/formhandler-ajax
包简介
Add AJAX capability to Formhandler. File upload, validation, submit.
README 文档
README
Add AJAX capability to Formhandler. File upload, validation, submit.
Usage
Use Formhandler AJAX viewhelper to render your form.
This will automatically enable AJAX file upload.
To enable AJAX submit of the form set option ajaxSubmit = 1 in your form's TypoScript setup.
Furthermore, a new ViewHelper for an AJAX based file removal button is added.
<html data-namespace-typo3-fluid="true" lang="en" xmlns:f="http://typo3.org/ns/fluid/ViewHelpers" xmlns:fh="http://typo3.org/ns/Rfuehricht/Formhandler/ViewHelpers" xmlns:fhajax="http://typo3.org/ns/Rfuehricht/FormhandlerAjax/ViewHelpers" xmlns:hcaptcha="http://typo3.org/ns/Waldhacker/Hcaptcha/ViewHelpers" > <fhajax:form enctype="multipart/form-data"> ... <f:if condition="{files.file -> f:count()} > 0"> <ul> <f:for as="file" each="{files.file}" key="index"> <li><div>{file.name} ({file.size -> f:format.bytes()}) <fhajax:fileRemoveButton file="{file}" removeElement="li" value="X" /> </div></li> </f:for> </ul> </f:if> ... </fhajax:form> </html>
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-07-03