hypejunction / forms_validation
Form validation components for Elgg
Installs: 49
Dependents: 0
Suggesters: 2
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 1
Type:elgg-plugin
Requires
- php: >=5.5
- bower-asset/parsleyjs: 2.2.0-rc4
- composer/installers: ~1.0
- hypejunction/forms_api: ~1.0
README
Screenshots
Features
- Client-side validation with Parsley.js
- Customizable error messages
- Easy to integrate into existing forms
- Extendable with custom validation rules
Usage
- Validation rules and other options are described in Parsley.js documentation http://parsleyjs.org/
- To enable client-side form validation, pass 'validate' parameter with form vars:
echo elgg_view_form('my/form', array( 'validate' => true, ), array()); // or echo elgg_view('input/form', array( 'action' => 'action/my/action', 'validate' => true, ));