I want to have the categorie as a “required field”. How can i configure DWQA that a user must select a categorie before submitting a Question.
2 Answers
You can open the Handle.php file in the inc folder then find the line 321 then add the following code to this line.
if ( !$category ) {
dwqa_add_notice( __( 'You must choose category.', 'dwqa' ), 'error' );
return false;
}
That solved it. Thanks a lot
If you have any issue or question, you can let me know. We will help you resolve it.
Please login or Register to submit your answer