Limited Support
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!
Merry Christmas and Happy Holidays! 🎄
I have set permissions so that guests can create a new topic, however the required fields for name and email are not set as required. The only field actually required is topic. This is clearly a big problem and as I understand shouldn't be possible in any circumstances. What can I do to make sure Guest email and name are required before submission? I have attached an image of the test site page.
Hi,
Could you please share the URL where we can see the issue?
Thanks. I have emailed you the link as I wasn't sure how to do this confidentially via the support board
@markt ,
Please use the hook-code below:
add_filter( 'wpforo_post_after_init_fields', function( $fields ){
$fields['name']['isRequired'] = $fields['email']['isRequired'] = 1;
return $fields;
} );
Insert it into your active theme's functions.php file.
Instruction: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/
Hi Sofy, Thanks ever so much. That works perfectly. And so simple. I spent hours with Chat GPT and Gemini trying to sort this out to no avail! We can close this