I don't understand this code, and it did not work for me. Where to put my <p> tag information?
But thanks for pointing out $form['fields']... I tried, but does not work yet:
// add extra label on ask page
function form($form)
{
// added label
if($this->template == 'ask' && isset($form['fields'])) {
$form['fields']['custom2'] = array(
'type' => 'static',
'label' => 'TEST ###',
'value' => '123',
);
}
qa_html_theme_base::form($form);
}
What am I doing wrong?