Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+7 votes
in Q2A Core by
How can I convert the optional boxes in the question to mandatory?

for example

I added an additional field to specify the country of the question owner

But this field is optional and I want to convert it to mandatory, how?
I have had a similar  similar problem  on my site for year I have a one line box that ask  rather you are Male  or Female  during register and is says required and a  notice  was given that their account would not be approved with out it and no one ever listens

1 Answer

+1 vote

I haven't implemented this myself, so take with a grain of salt, but I think you should be able to handle this by writing a filter module that makes the field mandatory. I doubt a plugin ready-made for your use case already exists.

However, unless you can somehow validate the correctness of what is entered into the field (which you shouldn't be able to do for privacy reasons) I don't see much value in making such a field mandatory. IMHO, YMMV.

I Know nothing about code.
If you can't do it yourself, and also can't pay someone else to do it for you, you're out of luck, I guess.
I can always hope for some one else to do it for free
"I can always hope for some one else to do it for free"
Basically you're looking for a sucker to do your work for you. Understood.
No, I am looking for someone who like help people out the same as all other people here that have taken  their personal time to create  free things for people.