grgomrton / coyote-forms Goto Github PK
View Code? Open in Web Editor NEWcross-field input validator
License: MIT License
cross-field input validator
License: MIT License
Even though right now the parser is able to parse without escaping the ' character, it is
I would like to be able to validate date fields and relationships between them.
support only is for now.
With the introduction of custom rules, the default error message "Invalid value" is no longer descriptive enough. A custom message should be possible to add to the individual rules, collect and send back joining with an or expression.
comment out for invalid setting
Due to the fast pace of implementation the namings suffered. The names should reach a final, valid and consistent state before release.
Currently there is not great many checks for invalid configuration. This is ok for 0.1, but later on we should help developers with meaningful error messages.
.* matches for empty string which is recommended for handling nulls in input. Maybe recommend .+
Currently the validator returns a Map<String, Set<String>> validationResult
as response, which is hard to work with. See https://github.com/grgomrton/coyote-forms/compare/17-customize-error-message?expand=1#diff-fece27740425ac8a122184aad3e17572af4ee816325d705d652bbb454d3ab0a6R25-R37
The idea is to define custom inputs for which the expression is defined in the connector. Therefore the expressions can be evaluated using wide range of language tools and the engine only has to validate it using the defined rule set. The rule descriptor used for the discrete values cannot be used, a new one has to be defined.
either as and - but seems overwhelming to type - or array of conditions
Keep in mind: this is not a project for digging deep in JAX-RS and/or Spring validation.
probably using generics
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.