Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
361 views
in Plugins by
I'm creating a plugin that prints a form using the $qa_content['form'] syntax. I would like some text to be printed just above the submit button. How can I do this?
Q2A version: 1.5.2

1 Answer

0 votes
by
selected by
 
Best answer

I'm afraid it's not possible, but you could use a custom HTML form element instead to hard code some HTML to be output. Here's an example:

 

$qa_content['form']['fields']['plugins']=array(
  'label' => qa_lang_html('admin/plugin_pages_explanation'),
  'type' => 'custom',
  'html' => '<UL STYLE="margin-bottom:0;">'.$listhtml.'</UL>',
);
by
Thanks for taking the time to answer all the question of me and the whole commmunity!
...