Hi Dylan,
Thanks for reaching out! I’d be happy to help with your question.
You can add the following code snippet to your functions.php or a functionality plugin.
add_filter( 'tribe_events_community_required_fields', 'my_community_required_fields', 10, 1 );
function my_community_required_fields( $fields ) {
if ( ! is_array( $fields ) ) {
return $fields;
}
$fields[] = '_ecp_custom_2'; // this is the field name for the input you want to require
$fields[] = '_ecp_custom_3'; // this is another input you wish to require
return $fields;
}
For each custom field you wish to be required, add the field name to the fields array before it is returned. To find the field name, inspect the input in your browser and copy whatever is set for the input “name” attribute.
Hope that helps! Please let me know if you have any further questions about this.
Thanks,
Sky