Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
285 views
in Q2A Core by
Hello,
 
 
 
Email is alraedy mandatory in questions, but I can't make it mandatory field in comments...
 
Is there a solution?
 
 
 
Thanks

2 Answers

0 votes
by
Probably best would be to use a filter plugin and check if the email field has been filled out.

see http://www.question2answer.org/modules.php?module=filter

 

A workaround would be to use javascript / jquery and prevent the form submit if field is not filled out.
0 votes
by
If you want a mandatory email field don't use neither javascript, jquery etc.

Just use the link q2apro posted on modules.
...