int? findFieldFocusIndex(String fieldId) { for (int i = 0; i < fieldFocus.length; i++) { if (fieldFocus[i].id == id) { return i; } } return null; }