Try putting the EditText in an array, some snippets of code:
B4X:
'in Sub Globals
Dim EditTextArray() As EditText
'in Sub Activity_Create(FirstTime As Boolean)
EditTextArray = Array As EditText(t1, t2, t3, t4, t5, t6, t7)
' you can then use this code
for a = 0 to 6
if "some text" = EditTextArray(a).Text then "do something"
Next