Skip to content

iwkoeln/TYPO3.EXT.form_frontend_validation

 
 

Repository files navigation

form_frontend_validation

Frontend validation for the TYPO3 form framework.

Adds data attributes to form elements for the Parsley JavaScript form validation library.
Currently implemented validators:

  • AdvancedPassword
  • AlphanumericValidator
  • CountValidator
  • DateRangeValidator
  • EmailAddressValidator
  • FloatValidator
  • IntegerValidator
  • NotEmptyValidator
  • NumberRangeValidator
  • NumberValidator
  • RegularExpressionValidator
  • StringLengthValidator

Installation

$ composer req r3h6/form-frontend-validation

Integration

Include in your TypoScript template following static templates:

  • Form Validation "Parsley"
  • Form Validation "Parsley JavaScript" (Optional)
  • Form Validation "Parsley Styles" (Optional)

New template paths will be added to the form framework on key 11. If you changed the form field partial template you must add following HTML code to your partial:

<span id="{element.uniqueIdentifier}-errors" class="error help-block"></span>

About

Update to php 8.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 91.1%
  • HTML 5.6%
  • Shell 3.3%