ukyo Posted November 25, 2014 Share Posted November 25, 2014 Validation Module for ProcessWire, Validation module using GUMP standalone PHP data validation and filtering class. That makes validating any data easy and painless without the reliance on a framework. Usage almost same with original GUMP validation class. Extended original validation class for make it multi-language and added 2 new function 1 for field labels, 1 for set and get fields. Module Link 12 Link to comment Share on other sites More sharing options...
Pete Posted November 25, 2014 Share Posted November 25, 2014 Oh wow, the examples on the link look nice - good work! Link to comment Share on other sites More sharing options...
ukyo Posted November 26, 2014 Author Share Posted November 26, 2014 Thank you @Pete ! Also here many example usage : https://github.com/Wixel/GUMP/tree/master/examples but don't forget replace GUMP() with Validation Link to comment Share on other sites More sharing options...
Sevarf2 Posted December 12, 2014 Share Posted December 12, 2014 Nice module, how can I translate the error messages or change the default? Link to comment Share on other sites More sharing options...
ukyo Posted December 18, 2014 Author Share Posted December 18, 2014 Nice module, how can I translate the error messages or change the default? You can use core translator for translate default "English" language. You will see "/modules/Validation/Libraries/gump.class.php" file when you want to make site translation. If you don't use multi language module you can directly edit this file, you will see lang terms, but for module updates its not good idea edit module file directly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now