private function buildRequiredNotes()
    {
        // Build the required notes container
        $requireNotesContainer = $this->getHTMLDocument()->getHTMLFactory()->buildHtmlElement('div', '', '', 'form-simple-required-notes');

        // Create note
        $note = $this->getHTMLDocument()->getHTMLFactory()->buildHtmlElement('p', '', '', 'rqNote');
        $requireNotesContainer->append($note);

        $star = $this->requiredStar();
        $note->append($star);
        $title = $this->getHTMLDocument()->getHTMLFactory()->buildHtmlElement('span', 'All fields marked with asterisk are required.');
        $note->append($title);

        // Append before controls
        $this->append($requireNotesContainer);

        return $this;
    }
private function buildRequiredNotes()
    {
        // Build the required notes container
        $requireNotesContainer = $this->getHTMLDocument()->getHTMLFactory()->buildHtmlElement('div', '', '', 'form-simple-required-notes');

        // Create note
        $note = $this->getHTMLDocument()->getHTMLFactory()->buildHtmlElement('p', '', '', 'rqNote');
        $requireNotesContainer->append($note);

        $star = $this->requiredStar();
        $note->append($star);
        $title = $this->getHTMLDocument()->getHTMLFactory()->buildHtmlElement('span', 'All fields marked with asterisk are required.');
        $note->append($title);

        // Append before controls
        $this->append($requireNotesContainer);

        return $this;
    }
private function buildRequiredNotes ( ) { // Build the required notes container $ requireNotesContainer = $ this -> getHTMLDocument ( ) -> getHTMLFactory ( ) -> buildHtmlElement ( 'div' , '' , '' , 'form-simple-required-notes' ) ; // Create note $ note = $ this -> getHTMLDocument ( ) -> getHTMLFactory ( ) -> buildHtmlElement ( 'p' , '' , '' , 'rqNote' ) ; $ requireNotesContainer -> append ( $ note ) ; $ star = $ this -> requiredStar ( ) ; $ note -> append ( $ star ) ; $ title = $ this -> getHTMLDocument ( ) -> getHTMLFactory ( ) -> buildHtmlElement ( 'span' , 'All fields marked with asterisk are required.' ) ; $ note -> append ( $ title ) ; // Append before controls $ this -> append ( $ requireNotesContainer ) ; return $ this ; }
Build the required notes container.

@return $this
@throws InvalidArgumentException
Build the required notes container .