Skip to content

ZaxCMS/Forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages