Form->control('name'); echo $fields['email'] ? $this->Form->control('email', ['required' => true]) : ''; echo $fields['subject'] ? $this->Form->control('subject', ['required' => true]) : ''; echo $this->Form->control('message'); echo $fields['captcha'] ? $this->Captcha->render(['placeholder' => __('Please solve the riddle')]) : ''; ?>