איך להראות כי ה- custom_fields של הנושא חייבים להיות קיימים

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?