Koldy offers an easy way of validating data sent through forms. In just few lines, you're able to validate most common cases you'll ever run into. Lets describe all of its features on example.

Imagine this form:

Form example

Imagine you're not validating anything on client side (even if you do, you should still validate your data on server-side).

Imagine the following rules for the form above:

• User must fill first name
• User must fill email
• User must fill the password twice - password must be at least 8 characters long - second password field must be identical to first password field
• User must agree to the terms (must check the checkbox)