I have a form with 3 fields to be filled and stored in a bank. One of the fields is populated by the system the remainder by the user.
boolean isInserted = myDb.insertData(editNome.getText().toString(),
editVeiculo.getText().toString(),
editVelmax);
As above, I created a boolean variable with name isInserted to return true or false, but as the editVelmax variable is always filled it is always returning true even the editNome and editVecile in white. How do I validate these two fields too?