koorchik / LIVR

Language Independent Validation Rules Specification
http://livr-spec.org
289 stars 22 forks source link

Equal to field not required allow #32

Closed a-melnichuk closed 8 years ago

a-melnichuk commented 8 years ago

Income:

Desired outcome:

Actual outcome:

koorchik commented 8 years ago

If you say that the only second field (which is optional) should be equal to the first one. Then you should check in your code only the second field. Or you can set that first field should be always equal to the second one. Here is an example

Please, let me know if this does not solve the issue