sweh / ajja

JavaScript library for simple creation of forms and display of collections
MIT License
2 stars 0 forks source link

Allow client-only input validation #55

Open florianpilz opened 8 years ago

florianpilz commented 8 years ago

After implementing #25 it would be great to keep auto-validation, even though the object is only stored after sending the complete form. We should make it possible to provide validation rules inside the options of each field, so ajja can validate the field without talking to the client.

Of course, this excludes validation among several fields. But we could add that in the future if it does not add too much complexity.