diff --git a/app/src/main/java/io/intelehealth/client/activities/identification_activity/IdentificationActivity.java b/app/src/main/java/io/intelehealth/client/activities/identification_activity/IdentificationActivity.java index 56b6d721bb..ff3d08d69a 100644 --- a/app/src/main/java/io/intelehealth/client/activities/identification_activity/IdentificationActivity.java +++ b/app/src/main/java/io/intelehealth/client/activities/identification_activity/IdentificationActivity.java @@ -675,7 +675,7 @@ public void onClick(DialogInterface dialog, int which) { //prajwal - if(!mFirstName.getText().toString().equals("") && !mLastName.getText().toString().equals("") && !mOccupation.getText().toString().equals("") + if(!mFirstName.getText().toString().equals("") && !mLastName.getText().toString().equals("") && !mCity.getText().toString().equals("") && !countryText.getText().toString().equals("") && !stateText.getText().toString().equals("") && !mDOB.getText().toString().equals("") && !mAge.getText().toString().equals("")) { @@ -704,10 +704,10 @@ public void onClick(DialogInterface dialog, int which) { mAge.setError(getString(R.string.error_field_required)); } - if(mOccupation.getText().toString().equals("")) + /* if(mOccupation.getText().toString().equals("")) { mOccupation.setError(getString(R.string.error_field_required)); - } + }*/ /* if(casteText.getText().toString().equals("")) {