private function verifyRequiredFieldIsAvailable($fieldId)
    {
        //====================================================================//
        // Detect List Field Names
        if (!method_exists($this, "Lists") || !self::lists()->listName($fieldId)) {
            //====================================================================//
            // Simple Field is Required but not available
            if (empty($this->in[$fieldId])) {
                return false;
            }

            return true;
        }
        //====================================================================//
        // List Field is required
        $listName = self::lists()->ListName($fieldId);
        $fieldName = self::lists()->FieldName($fieldId);
        //====================================================================//
        // Check List is available
        if (empty($this->in[$listName])) {
            return false;
        }
        //====================================================================//
        // list is a List...
        if (!is_array($this->in[$listName]) && !is_a($this->in[$listName], "ArrayObject")) {
            return false;
        }
        //====================================================================//
        // Check Field is Available
        foreach ($this->in[$listName] as $item) {
            if (empty($item[$fieldName])) {
                return false;
            }
        }

        return true;
    }
private function verifyRequiredFieldIsAvailable($fieldId)
    {
        //====================================================================//
        // Detect List Field Names
        if (!method_exists($this, "Lists") || !self::lists()->listName($fieldId)) {
            //====================================================================//
            // Simple Field is Required but not available
            if (empty($this->in[$fieldId])) {
                return false;
            }

            return true;
        }
        //====================================================================//
        // List Field is required
        $listName = self::lists()->ListName($fieldId);
        $fieldName = self::lists()->FieldName($fieldId);
        //====================================================================//
        // Check List is available
        if (empty($this->in[$listName])) {
            return false;
        }
        //====================================================================//
        // list is a List...
        if (!is_array($this->in[$listName]) && !is_a($this->in[$listName], "ArrayObject")) {
            return false;
        }
        //====================================================================//
        // Check Field is Available
        foreach ($this->in[$listName] as $item) {
            if (empty($item[$fieldName])) {
                return false;
            }
        }

        return true;
    }
private function verifyRequiredFieldIsAvailable ( $ fieldId ) { //====================================================================// // Detect List Field Names if ( ! method_exists ( $ this , "Lists" ) || ! self :: lists ( ) -> listName ( $ fieldId ) ) { //====================================================================// // Simple Field is Required but not available if ( empty ( $ this -> in [ $ fieldId ] ) ) { return false ; } return true ; } //====================================================================// // List Field is required $ listName = self :: lists ( ) -> ListName ( $ fieldId ) ; $ fieldName = self :: lists ( ) -> FieldName ( $ fieldId ) ; //====================================================================// // Check List is available if ( empty ( $ this -> in [ $ listName ] ) ) { return false ; } //====================================================================// // list is a List... if ( ! is_array ( $ this -> in [ $ listName ] ) && ! is_a ( $ this -> in [ $ listName ] , "ArrayObject" ) ) { return false ; } //====================================================================// // Check Field is Available foreach ( $ this -> in [ $ listName ] as $ item ) { if ( empty ( $ item [ $ fieldName ] ) ) { return false ; } } return true ; }
Check Required Fields

@param string $fieldId Object Field Identifier

@return bool
Check Required Fields