A button in my app gets all the text you enter in 8 text fields and sends it to a table. I need code so that you need to fill in ALL fields before you can send the info. How do
You use the AND boolean operator; &&
if(!textfield1.getText().equals("") && !textfield2.getText().equals("") && !textfield3.getText().equals("") && so on){ //fill table in }
In case you didn't know, ! means NOT, so we're saying 'if text field 1 is not empty and textfield 2 is not empty and ...'