$form->addHtml('<span class="help-block">If other, please tell us more ... </span>', 'subject', 'after'); $form->addOption('subject', '', 'Your request concerns ...'); $form->addOption('subject', 'Support', 'Support', '', 'data-icon=glyphicon glyphicon-info-sign text-warning'); $form->addOption('subject', 'Sales', 'Sales', '', 'data-icon=glyphicon glyphicon-usd text-warning'); $form->addOption('subject', 'Other', 'Other', '', 'data-icon=glyphicon glyphicon-question-sign text-warning'); $form->addSelect('subject', '', 'class=selectpicker'); $form->addHtml('<div class="hidden-wrapper off">'); $form->addInput('text', 'subject-other', '', '', 'placeholder=Please tell more about your request ...'); $form->addHtml('</div>'); $form->addTextarea('message', 'Your message ...', '', 'cols=30, rows=4, required=required'); $form->addPlugin('tinymce', '#message', 'contact-config'); $form->addCheckbox('newsletter-checkboxes', 'Suscribe to Newsletter', 'newsletter', 1, 'checked=checked'); $form->printCheckboxGroup('newsletter-checkboxes', ''); $options = array('horizontalLabelCol' => 'col-sm-3', 'horizontalOffsetCol' => 'col-sm-offset-3', 'horizontalElementCol' => 'col-sm-9'); $form->setOptions($options); $form->addBtn('submit', 'submit-btn', 1, 'Send <span class="glyphicon glyphicon-envelope append"></span>', 'class=btn btn-success'); $form->endFieldset(); $form->addHtml('<p class="text-warning">* Required fields</p>'); $form->addPlugin('icheck', 'input', 'default', array('%theme%' => 'square-custom', '%color%' => 'green')); ?> <!DOCTYPE html> <html> <head> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Contact Form 3</title> <!-- Bootstrap CSS --> <link href="../assets/css/bootstrap.min.css" rel="stylesheet">