keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
2018-04-17T14:51:50.000029Z

Hi, I opened an issue but maybe I can ask here. Is there a way to have validations that depends on multiple fields on a form using keechma-forms? Something like password and password confirmation being equal? (the issue is https://github.com/keechma/forms/issues/6)

mihaelkonjevic 2018-04-17T18:35:07.000695Z

@mynomoto Yes, check here https://github.com/retro/forms-validations/blob/master/src/forms_validation/validations.cljs#L15-L21 . You can see the demo in action here https://keechma.com/demos/forms/ and blog post about the motivation behind the library here https://medium.com/wdstack/inline-validation-in-forms-designing-the-experience-123fb34088ce

2018-04-17T18:54:37.000026Z

@mihaelkonjevic great! I thought it was possible but I didn't find that example. The ones on github only have single field validations, so those two links would be nice additions to the readme.

👍 1