weggla/sulu-dynamic-form-ajax-validation-bundle
最新稳定版本:v0.0.1-alpha
Composer 安装命令:
composer require weggla/sulu-dynamic-form-ajax-validation-bundle
包简介
A small bundle for Sulu projects to validate dynamic forms via ajax request
README 文档
README
A small bundle for Sulu CMS projects to validate dynamic forms with an ajax call. This bundle provides a route to post your form data to. No form validation implementation for your website is bundled here.
Requirements
- Sulu 2.5.* || Sulu 2.6.*
- PHP >= 8.2
Installation
composer require weggla/sulu-dynamic-form-ajax-validation-bundle
Configuration
When not using symfony flex, enable the bundle in your bundles.php.
# config/bundles.php return [ ..., Sulu\Bundle\DynamicFormAjaxValidation\SuluDynamicFormAjaxValidationBundle::class => ['all' => true], ];
Import routes from the bundle.
# config/routes.yaml sulu_ajax_form_validation: resource: '../vendor/weggla/sulu-dynamic-form-ajax-validation-bundle/src/Controller' type: attribute prefix: /
Usage
POST your form data to route "validate_dynamic_form_ajax" (/ajax/form/validate) and receive the validation result.
License
This bundle is published under the MIT license and totally free to use. Use it wherever you like! Contributions are always welcome – whether it’s bug reports, incompatibilities, or anything else you stumble upon.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-17