zaxcms/forms

There is no license information available for the latest version (dev-master) of this package.

Maintainers

Details

github.com/ZaxCMS/Forms

Source

Issues

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/zaxcms/forms

dev-master 2015-01-14 19:00 UTC

This package is auto-updated.

Last update: 2025-09-13 23:49:18 UTC


README

WIP

Zax\DI\FormMessagesExtension

This tiny extension allows us to specify default error messages for custom form validators in config.

To use it, simply register it in your config.neon:

extensions:
	formMessages: Zax\DI\FormMessagesExtension

and add your messages:

formMessages:
	My\Custom\Validator::validateSomething: 'Value must be something.'
	My\Other\Custom\Validator::validateSomethingElse: 'Value must be somethin else.'
	# etc...