What's the best way to change what fields are required when making a topic?
I have a lot of custom fields I’m using in a particular forum when posting a new topic, and I’m wondering what the best way is to make certain ones required. Similar to how the topic title and topic content are required on a standard forum.
Also, I need to be able to make the topic content not required for the forum as well.
I haven’t found much when searching around the site and Google, but I did find where empty fields are being checked in plugins/bbpress/includes/topics/functions.php (around line 186). I’m just not sure the cleanest/best way to tap into that.
I’ve also debated using something like jQuery Validation, but I’d like the check to be done at the server level if possible. Just to prevent as much spam/malicious intent as possible because this is a public forum.
I appreciate the help!
- You must be logged in to reply to this topic.