Get the InputfieldForm element that contains this field or null if not yet defined
This is the same as the
getRootParent() method except that it returns null if root parent is not an InputfieldForm.
Available since version 3.0.106.
$inputfieldForm = $inputfield->getForm();
Inputfield methods and properties
API reference based on ProcessWire core version 3.0.214