I'm looking for the most logical method to hide a form field after the form datasource is available.
For info, the form is SalesTable.
I want to hide the field when opening from ListPage or when navigating between Sales orders using the record navigation at the bottom of forms.
For example, then I can check data value and hide the field.
if(SalesTable.ProjId)
{
formCtrlName.isVisible(false);
}