Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Is there any method to put checkbox in the ask question page mention it as adult question

0 votes
40 views
asked Sep 6 in Q2A Core by Aras Ahmed


 

Q2A version: 1.7.4

1 Answer

+1 vote
answered Sep 6 by Scott

Not in core Q2A. Currently only 1 extra field is allowed and it's a text box. You could use that and ask them to put in "yes" or "no" if it's an adult question but that's a bit awkward.

An alternative would be to use tagging, and make sure all adult questions are tagged with a specific tag like "adult".

Then in the output_widget function of your plugin look at $qa_content['q_view']['raw']['tags'] for the current tags of the question.

...