private function AddAreasField()
    {
        $name = 'Areas';
        $field = Input::Text($name, join(', ' , $this->areaNames));
        $this->AddField($field);
        if ($this->layout->Exists())
        {
            $field->SetHtmlAttribute('readonly', 'readonly');
        }
        else
        {
            $this->SetTransAttribute($name, 'placeholder');
            $this->SetRequired($name);
        }
    }
private function AddAreasField()
    {
        $name = 'Areas';
        $field = Input::Text($name, join(', ' , $this->areaNames));
        $this->AddField($field);
        if ($this->layout->Exists())
        {
            $field->SetHtmlAttribute('readonly', 'readonly');
        }
        else
        {
            $this->SetTransAttribute($name, 'placeholder');
            $this->SetRequired($name);
        }
    }
private function AddAreasField ( ) { $ name = 'Areas' ; $ field = Input :: Text ( $ name , join ( ', ' , $ this -> areaNames ) ) ; $ this -> AddField ( $ field ) ; if ( $ this -> layout -> Exists ( ) ) { $ field -> SetHtmlAttribute ( 'readonly' , 'readonly' ) ; } else { $ this -> SetTransAttribute ( $ name , 'placeholder' ) ; $ this -> SetRequired ( $ name ) ; } }
Adds the server path field to the form
Adds the server path field to the form