The problem is that from the fields iterator or when using fields.getField() (img 1), there doesn't seem to be a way to call getFieldControl() like there is when accessing a field directly (img 2). I've tried adding .getFieldControl() after the getField() even though it doesn't get suggested, just to see if it would work, but I only get null.


I've tried going the opposite way, that is to do controls.getControl() and then call .getField() on the result, but that doesn't show up in the autocomplete either.
Is there no way to go from field to field control without directly accessing the field through fields.[fieldname]?