ragunathjawahar / android-saripaar

UI form validation library for Android
Apache License 2.0
3.22k stars 460 forks source link

Immediate Mode on Field Level #154

Open stevenay opened 8 years ago

stevenay commented 8 years ago

Let's say we have the following validation.

@NotEmpty
@Password
EditText etPassword;

@NotEmpty
EditText DateofBirth;

And we don't fill both of these fields in the form.

Then, the validator will show the error message for @NotEmpty of the password and @NotEmpty of the DateofBirth. But the validator won't show the error message for @Password of the password field.

I mean Immediate Mode on each field level validation rather than the form level.

ragunathjawahar commented 8 years ago

@stevenay Yep, makes sense. That should be the way to go.

stevenay commented 8 years ago

@ragunathjawahar Thanks for response. I think this feature isn't available in the current release. So hope to get this feature in the future releases. Thanks.