Skip to content Skip to sidebar Skip to footer

Edittext Multiple Edit Fill Check

i am creating a project in which i have 3 Edit text filled i want to check if from 3 edit text any one should be filled any one from either 3 edit text i know how to check if all t

Solution 1:

Try it this way. Check if at least 1 is filled out

private void checking_all_data() {
        if (validate_edit1() || validate_edit2() || validate_edit3()) {
            //success
        }
        else{
            //error
        }
    }

Post a Comment for "Edittext Multiple Edit Fill Check"