public function getDynamicButtonMeta()
    {
        $strReturn = "";

        $objCondition = $this->getCondition("visible");
        if (is_object($objCondition)) {
            $blnResult = $objCondition->isMet();

            // This can be applied on all sorts of subjects.
            if ($blnResult) {
                if (! $objCondition->getValue()) {
                    $strReturn = " style=\"display:none;\"";
                }
            } else {
                if ($objCondition->getValue()) {
                    $strReturn = " style=\"display:none;\"";
                }
            }
        }

        return $strReturn;
    }
public function getDynamicButtonMeta()
    {
        $strReturn = "";

        $objCondition = $this->getCondition("visible");
        if (is_object($objCondition)) {
            $blnResult = $objCondition->isMet();

            // This can be applied on all sorts of subjects.
            if ($blnResult) {
                if (! $objCondition->getValue()) {
                    $strReturn = " style=\"display:none;\"";
                }
            } else {
                if ($objCondition->getValue()) {
                    $strReturn = " style=\"display:none;\"";
                }
            }
        }

        return $strReturn;
    }
public function getDynamicButtonMeta ( ) { $ strReturn = "" ; $ objCondition = $ this -> getCondition ( "visible" ) ; if ( is_object ( $ objCondition ) ) { $ blnResult = $ objCondition -> isMet ( ) ; // This can be applied on all sorts of subjects. if ( $ blnResult ) { if ( ! $ objCondition -> getValue ( ) ) { $ strReturn = " style=\"display:none;\"" ; } } else { if ( $ objCondition -> getValue ( ) ) { $ strReturn = " style=\"display:none;\"" ; } } } return $ strReturn ; }
This method determines wheter or not to show the 'add extra field' dynamic button
based on it's parent's condition state.
This method determines wheter or not to show the add extra field dynamic button based on it s parent s condition state .