Hoe maak je aangepaste velden van een onderwerp verplicht

nice!
so how to validate the custom field input and reject attempts to Post a new Topic until those requirements are met in location plugin. Can you share your ideas and codes? is it complex?