Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
in Q2A Core by

In GitHub you can create issue templates, such as this one https://github.com/springfox/springfox/blob/2.9.2/.github/ISSUE_TEMPLATE.md (random), to "motivate" users to enter data in a structured way.

Is there anything similar available for Q2A? If not, where would I have to start tweaking the code to add this feature?

Q2A version: 1.8.0

1 Answer

0 votes

This could be done with a layer plugin (or in your custom theme if you want). You'd need to override the initialize function and put this code in there:

if ($this->template === 'ask' && empty($this->content['form']['fields']['content']['value']))
    $this->content['form']['fields']['content']['value'] = 'your template code';