Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.0k views
in Q2A Core by
One can add additional fields to the registerform

through the user menu.

But how to make them mandatory/required ?

Thanks for any hint !
Q2A version: 1.6.1

1 Answer

+2 votes
by

You should use filter_profile().
http://www.question2answer.org/modules.php?module=filter

Useful functions exist in qa-include/qa-filter-basic.php. -> validate_length()

The method to display error is here.
http://www.question2answer.org/qa/24985/prevent-duplicate-question-titles?show=25024#a25024
 

...